VLAN
Warning |
---|
ProVision's APIv1 system has been replaced by APIv2, and is now considered deprecated. |
Table of Contents |
---|
Table of Contents |
---|
getById | |||||||||
---|---|---|---|---|---|---|---|---|---|
URL | api/v1/api.php?target=vlan&action=getById | ||||||||
Description | get information of a vlan | ||||||||
Returns | Examples
| ||||||||
Required Parameters |
| ||||||||
Optional Parameters | None | ||||||||
Example URL | api/v1/api.php?target=vlan&action=getById&id=11190 |
...
getDomains | |||||||||
---|---|---|---|---|---|---|---|---|---|
URL | api/v1/api.php?target=vlan&action=getDomains | ||||||||
Description | get list and info of all domains or a specific domain. When specifying the domain the results will include tag info | ||||||||
Returns | Examples
| ||||||||
Required Parameters | None | ||||||||
Optional Parameters |
| ||||||||
Example URL | api/v1/api.php?target=vlan&action=getDomains&id=2 |
...
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= |
...
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 |
...