APITags

Update tag

Update a tag's name and/or color. Namespace is immutable.

PATCH/tags/{tag_id}

Update a tag's name and/or color. Namespace is immutable.

Path Parameters

tag_id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Fields for updating a tag. Omitted fields are left unchanged; namespace cannot be changed.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/tags/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": null,  "namespace": "agent",  "name": "string",  "color": "red",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}