Summary:
Set the managed/unmanaged state of a port.
URL:
http(s)://{server hostname}/api/portManagement/{devID}/{portID}?reManage=BOOL&unManage=BOOL
Methods summary
- PUT Method - controls the managed/unmanaged state of the port.
PUT Method detail
This method can accept two boolean parameters, which can be equal to either of “yes”, “true”, “y”, “t” or “1”.
If both parameters are present, “reManage” takes over the “unManage”.
If none are present, then this method reports an error.
Response:
A message, describing the current state of a port.
Examples:
INPUT
curl -u admin:admin https://localhost/api/portManagement/2/18?unManage=y&media=json -X PUT -H "content-type:application/json"
OUTPUT
{
"message" : "Successfully marking port as unmanaged"
}
INPUT
curl -u admin:admin https://localhost/api/portManagement/2/18?unManage=y&media=xml -X PUT -H "content-type:application/xml"
OUTPUT
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<statusInfo>
<message>Successfully marking port as unmanaged</message>
</statusInfo>
Comments
0 comments
Please sign in to leave a comment.