...
get | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | api/v1/api.php?target=vlan&action=get | ||||||||||||||||
Description | searches Searches enabled VLANs. When not given options, returns all enabled VLANs. Note: an optional parameter, unavailable, is used to get available (un-enabled) VLANs as well | ||||||||||||||||
Returns | Examples
| ||||||||||||||||
Required Parameters | None | ||||||||||||||||
Optional Parameters |
| ||||||||||||||||
Example URL | api/v1/api.php?target=vlan&action=get&id=4&unavailable=true |
deleteDomain | |||||||||
---|---|---|---|---|---|---|---|---|---|
URL | api/v1/api.php?target=vlan&action=deleteDomain | ||||||||
Description | Deletes a VLAN domain. | ||||||||
Returns | Examples
| ||||||||
Required Parameters |
| ||||||||
Optional Parameters | Name None | ||||||||
Type | ExampleDescription | ||||||||
X | X | X | X | Example URL | URL | api/v1/api.php?target=vlan&action=deleteDomain&domainId=7 |
updateDomain | |||||||||
---|---|---|---|---|---|---|---|---|---|
URL | |||||||||
Description | |||||||||
api/v1/api.php?target=vlan&action=updateDomain | |||||||||
Description | Updates a VLAN domain. | ||||||||
Returns | Examples
| ||||||||
Required Parameters |
| ||||||||
Optional Parameters |
| ||||||||
Example URL |
Update | |||||||||
---|---|---|---|---|---|---|---|---|---|
URL | |||||||||
Description | |||||||||
Returns | Examples
| ||||||||
Required Parameters |
| ||||||||
Optional Parameters |
| ||||||||
Example URL |
removeTags | |||||||||
---|---|---|---|---|---|---|---|---|---|
URL | |||||||||
Description | |||||||||
Returns | Examples
| ||||||||
Required Parameters |
| ||||||||
Optional Parameters |
| ||||||||
Example URL |
| |||||||||
Required Parameters |
| ||||||||
Optional Parameters |
| ||||||||
Example URL |
update | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | api/v1/api.php?target=vlan&action=update | ||||||||||||
Description | Update properties of a VLAN: name, tags, or both. | ||||||||||||
Returns | Examples
| ||||||||||||
Required Parameters |
| ||||||||||||
Optional Parameters |
| ||||||||||||
Example URL | api/v1/api.php?target=vlan&action=update&id=11735&name=OReilly&tags=156,159 api/v1/api.php?target=vlan&action=update&id=11735&name=OReilly api/v1/api.php?target=vlan&action=update&id=11735&tags=156,159 api/v1/api.php?target=vlan&action=update&id=11735&name= api/v1/api.php?target=vlan&action=update&id=11735&tags= |
removeTags | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | api/v1/api.php?target=vlan&action=removeTags | ||||||||||||||||
Description | Remove tags from a domain's VLAN(s). | ||||||||||||||||
Returns | Examples
| ||||||||||||||||
Required Parameters |
| ||||||||||||||||
Optional Parameters | None | ||||||||||||||||
Example URL | api/v1/api.php?target=vlan&action=removeTags&domainId=1&vlan=500-510&tagId=159 api/v1/api.php?target=vlan&action=removeTags&domainId=1&vlan=400,406,500-510&tagId=159,160 |
addTags | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | api/v1/api.php?target=vlan&action=addTags | ||||||||||||
Description | Add tags to a domain's VLAN(s). | ||||||||||||
Returns | Examples
| ||||||||||||
addTags | |||||||||||||
URL | |||||||||||||
Description | |||||||||||||
Returns | Examples
| ||||||||||||
Required Parameters |
| ||||||||||||
Optional Parameters |
| ||||||||||||
| |||||||||||||
Optional Parameters | None | ||||||||||||
Example URL | api/v1/api.php?target=vlan&action=addTags&domainId=1&vlan=500-510&tagId=159 api/v1/api.php?target=vlan&action=addTags&domainId=1&vlan=400,406,500-510&tagId=159,160 | Example URL |
smartAssign | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL | api.php?target=vlan&action=smartAssign | ||||||||||||
Description | Finds and enables an unassigned VLAN matching the provided search parameters and optionally renames it. | ||||||||||||
Returns | Examples
| ||||||||||||
Required Parameters |
| ||||||||||||
Optional Parameters |
| ||||||||||||
Example URL | api.php?target=vlan&action=smartAssign&domainId=21&name=RESERVED_DEV&tags=5,7,12 |