Remove Tags from IP Ranges

Cortex Xpanse REST API

post /public_api/v1/assets/tags/external_ip_address_ranges/remove

Remove tags in bulk from a set of IP address ranges.

CURL
curl -X POST \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ "https://api-yourfqdn/public_api/v1/assets/tags/external_ip_address_ranges/remove" \ -d '{ "request_data" : { "filters" : [ { "field" : "field", "value" : [ "value", "value" ], "operator" : "operator" }, { "field" : "field", "value" : [ "value", "value" ], "operator" : "operator" } ], "tag" : [ "tag", "tag" ] } }'
Request
Body
optional
Example: {"request_data":{"filters":[{"field":"range_id_list","operator":"in","value":[""]}],"tags":[""]}}
request_data
required

A dictionary containing the API request fields.

An empty dictionary returns all results.

filters
optional
Array
field
optional
String
range_id_list: indicates that the set of IP ranges will be a list of IDs.
operator
optional
String
in
value
optional
Array of strings
List of strings, the ip range IDs that should be removed from the tag.
tag
optional
Array of strings
List of tag names to remove from the ranges. These do not need to include the tag family.
Responses

OK

Body
reply
optional
remove_tags
optional
Boolean

Bad Request. Got an invalid JSON.

Body
The query result upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.

Unauthorized access. An issue occurred during authentication. This can indicate an incorrect key, id, or other invalid authentication parameters.

Body
The query result upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.

Unauthorized access. User does not have the required license type to run this API.

Body
The query result upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.

Forbidden access. The provided API Key does not have the required RBAC permissions to run this API.

Body
The query result upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.

nternal server error. A unified status for API communication type errors.

Body
The query result upon error.
err_code
optional
String
HTTP response code.
err_msg
optional
String
Error message.
err_extra
optional
String
Additional information describing the error.