Delete a tag

How to delete an existing tag via API

To delete a tag, send a DELETE request to the /api/tags/:id endpoint, where id is the id of the tag that you want to delete.

Request

DELETE https://yourdomain.commercelayer.io/api/tags/:id

Example

The following request tries to delete the tag identified by the ID "xYZkjABcde":

curl -g -X DELETE \
  'https://yourdomain.commercelayer.io/api/tags/xYZkjABcde' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer your-access-token'

Last updated