Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add Tag

URL/api/v1/api.php?target=ipam&action=addaddTag
DescriptionAdds a tag to an IP block.
Returns

Examples:

SUCCESSFUL{ "success":1,"message":"Tag Added.", "data":{ "id":12345, "cidr":192.168.0.0/24", ...} }
ERROR { "success":0, "message":"error message" }
Required Parameters
NameTypeExampleDescription
id*INTEGER125ID of the block
block*STRING192.0.0.0/24CIDR of the block
*Either block or id can be used, but only one must be provided
tagSTRINGCustomerThe tag to add
Optional ParametersNone
Example URL/api/v1/api.php?target=ipam&action=addTag&id=125&tag=Customer

...