Skip to main content
DELETE
/
tags
/
{slug}
Delete a tag
curl --request DELETE \
  --url https://api.getfernand.com/tags/{slug} \
  --header 'X-API-Key: <api-key>'
{}
Deletes a tag identified by its slug. System tags cannot be deleted. If the tag is used in any rules or snippets, the deletion requires a force parameter. When forced, the tag is removed from all rules where it’s used, and rules with no remaining actions are also deleted.

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Path Parameters

slug
string
required

Slug of the tag to delete

Query Parameters

force
boolean
default:false

Force deletion even if tag is used in rules or snippets

Response

Tag deleted successfully

The response is of type object.