Update Tag

PATCH /api/v2/tags/:tag_id

Path Parameters

Name
Type
Description

tag_id

string

Tag UUID

Headers

Name
Type
Description

Authorization

string

Bearer token

Content-Type

string

application/vnd.api+json

Request

{
  "data": {
    "id": "a8e22ad3-b8b1-4fe2-a08a-45e5ba39df7d",
    "type": "tags",
    "attributes": {
      "name": "New Tag"
    }
  }
}

Attributes

Name
Type
Description

name

string

Tag name

Response

204 No Content

Example

curl --request PATCH \
  --url https://environment.monterosa.cloud/api/v2/tags/a8e22ad3-b8b1-4fe2-a08a-45e5ba39df7d \
  --header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
    "data": {
      "id": "a8e22ad3-b8b1-4fe2-a08a-45e5ba39df7d",
      "type": "tags",
      "attributes": {
        "name": "New Tag"
      }
    }
  }'

Last updated

Was this helpful?