Update a tag

PATCH
/tags/:tag_id

Change the tag name. The new name must be unique among existing tags. Tag names are case-sensitive, that is Marketing and marketing are two different tags.

Path parameters

tag_idstringRequired

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired
The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
categoryenumOptional
The tag category.
descriptionstringOptional
The tag description.
namestringOptional
The tag name. Must be unique.

Response

This endpoint returns an object.
idstring
A unique ID of this tag.
created_atdatetime

Date and time when the tag was created. Timestamps follow the ISO 8601 standard.

updated_atdatetime

Date and time when the tag was last updated. Timestamps follow the ISO 8601 standard.

namestring
The tag name.
categoryenumOptional
The tag category.
created_by_entity_user_idstringOptional
ID of the user who created the tag.
descriptionstringOptional
The tag description.

Errors