Skip to content
Docs

External API

Remove tags from a customer

Remove tags from a customer in Proto, from your own system.

Removes tags from a customer – for example, remove Renewal due once they’ve renewed. The tags stay in your teamspace, so you can use them again. Not sure how to send a request? See Make your first request.

Request

Send a PUT request to:

https://v3-api.proto.cx/api/platform/v1/customers/YOUR_TEAMSPACE_ID/customer/YOUR_CUSTOMER_ID/remove-tags

In the body, list the tags to remove by name. In the address and the body, replace anything starting with YOUR_ with your own – YOUR_CUSTOMER_ID is your ID for the customer, the one you used when you created them:

{
  "tags": ["Renewal due"]
}

To remove tags by ID instead, send "ids": ["YOUR_TAG_ID"] in place of tags. Send one or the other, not both.

FieldRequiredWhat it is
tagsOne of the twoA list of the tags’ names, exactly as they appear in Proto. Capital letters count.
idsOne of the twoA list of the tags’ IDs

Response

Proto replies 200 OK:

{ "success": true }

success is always true – also for a tag the customer doesn’t have, or that isn’t in your teamspace. If a tag is still on the customer, check its name – capital letters count.

Errors

You getWhat it means
400The body has neither tags nor ids, or has both.
404No customer with this ID is in your teamspace.

For errors any request can return, see If something goes wrong.

Stuck? Ask Advisor in the Proto dashboard, or contact us.

© Proto