Skip to main content
POST/users-by-id/:custom_id/remove_tag/

Remove tag

You can remove tag from a user.

Attributes

Optional unless marked required

custom_idintegerrequired
The unique identifier for the user which is provided by the client.
namestringrequired
A tag name.

Request​

curl -X POST "https://<your_app_subdomain>.user.com/api/public/users-by-id/:custom_id/remove_tag/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2" \
-H "Content-Type: application/json" \
-d '{
"name": "Trial"
}'

Response examples​

No response body.

The response is 204 even when there's nothing to remove: a tag the contact doesn't have, an empty name or no name at all answer 204 too. Only a contact that doesn't exist answers 404.

note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.