Update a tag
Update tag
Updating a single tag is done by sending a PATCH
request to the /tags/:id
endpoint.
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 text, or, if the tag is not found, a 404 status code with a matching error message in the body is returned.
{
doc: {
"id": "[TAG_ID]",
"title": "New tag title",
...
},
message: "Updated successfully."
}