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

Company remove tag by id

You can remove a tag added to the company using a company custom_id.

Attributes

Optional unless marked required

custom_idstringrequired
The unique identifier for the company which is provided by the client.
namestringrequired
A name of the tag you want to remove.

Request​

curl -X POST "https://<your_app_subdomain>.user.com/api/public/companies-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": "VIP"
}'

Response examples​

No response body.

The response is 204 even when there's nothing to remove: a tag the company doesn't have, a tag that doesn't exist, an empty name or no name at all answer 204 too. The endpoint never reports a problem with the body, so check the company's tags if you need to know whether the tag was there.

note

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