post
/public_api/v1/assets/tags/assets_internet_exposure/remove/
Remove tags in bulk from a set of assets.
CURL
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" -H "authorization: {{api_key}}" -H "x-xdr-auth-id: {{api_key_id}}" \
"https://api-}/public_api/v1/assets/tags/assets_internet_exposure/remove/" \
-d '{
"request_data" : {
"filters" : [ {
"field" : "name",
"value" : "AssignOrRemoveTagsFromAsmAssetsRequestFilter_value",
"operator" : "in"
}, {
"field" : "name",
"value" : "AssignOrRemoveTagsFromAsmAssetsRequestFilter_value",
"operator" : "in"
} ],
"tags" : [ "tags", "tags" ]
}
}'
Request headers
authorization
required
String
api-key
Example:
{{api_key}}
x-xdr-auth-id
required
String
api-key-id
Example:
{{api_key_id}}
Request
Body
required
request_data
required
Object
A dictionary containing the API request fields. An empty dictionary returns all results.
filters
optional
Array
of objects
field
required
String
(Enum)
Indicates that the list of assets will be an "asm_id_list".
Allowed values:
name
has_xdr_agent
ip_address
externally_detected_providers
type
has_active_external_services
mac_addresses
externally_inferred_cves
aws_cloud_tags
gcp_cloud_tags
azure_cloud_tags
tags
business_units_list
ipv6_address
has_bu_overrides
asm_id_list
operator
required
String
(Enum)
in
Allowed values:
in
contains
neq
eq
not_contains
value
required
List of strings, the asset IDs that should be removed from the tag
tags
optional
Array
of strings
List of tag names to remove from the assets. These do not need to include the tag family.
Responses