Deleting a tag
Delete tag
Deleting a tag is done by sending a DELETE request to the /tags/:id endpoint.
CURL
curl -X DELETE https://app.ignitevideo.cloud/api/tags/[TAG_ID] \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \Response
The response is the deleted tag object with a status message. If the id does not exist, the response is 403 with the Payload error. A missing id and a forbidden id return the same body. See Authentication.
{
doc: {
"id": "[TAG_ID]",
"title": "Tag title",
"slug": "tag-slug"
},
message: "Deleted successfully."
}