Page tree
Skip to end of metadata
Go to start of metadata

To unassign IP addresses from any user, use the following request:

POST   /settings/networks/:network_id/ip_addresses/unassign.xml
POST   /settings/networks/:network_id/ip_addresses/unassign.json

XML Request example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/settings/networks/:network_id/ip_addresses/unassign.xml -d '<ip_addresses type="array"><id>79</id><id>80</id></ip_addresses>'

JSON Request example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/settings/networks/:network_id/ip_addresses/unassign.json -d '{"ip_addresses":["79", "80"]}'
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels