Unassign |
---|
URL | /api/v1/api.php?target=ipam&action=unassign |
Description | Reclaims the specified block to be reassigned in the future |
Returns | Examples: SUCCESSFUL | { "success":1,"message":"192.168.0.0/24 unassigned", "id":12345, "data":{ "id":12345, "cidr":192.168.0.0/24", ...} } | ERROR | { "success":0, "message":"error message" } |
|
Required Parameters | Name | Type | Example | Description |
---|
block* | STRING | 213.37.29.0/24 | CIDR block description | id* | INTEGER | 125 | ID of the IP block | *Either block or id can be used, but only one must be provided |
|
Optional Parameters | Name | Type | Example | Description |
---|
skipHolding | BOOL | true | If set to true (skipHolding=true) then the holding tank is skipped. If set to false, or not included, normal holding tank rules apply. Available in version 5.1.0 Acceptable values: "true" or "false" |
|
Example URL | /api/v1/api.php?target=ipam&action=unassign&block=213.37.29.0/24 |