Update a tag
Update tag
Updating a single tag is done by sending a PATCH request to the /tags/:id endpoint.
Writable fields are title, slug, and description.
CURL
curl -X PATCH https://app.ignitevideo.cloud/api/tags/[TAG_ID] \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title": "New tag title"}'Response
The response is an object containing the tag object and an update 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": "New tag title",
...
},
message: "Updated successfully."
}