Skip to main content
PUT
/
tags
/
{tag_id}
Update a tag
curl --request PUT \
  --url https://api.cloudglue.dev/v1/tags/{tag_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>",
  "value": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "label": "<string>",
  "value": "<string>",
  "type": "file",
  "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "segment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tag_id
string
required

The ID of the tag

Body

application/json

Tag update parameters. At least one of label or value is required.

label
string

The label of the tag

value
string

The value of the tag

Response

200 - application/json

Tag updated successfully

id
string<uuid>
required

The ID of the tag

label
string
required

The label of the tag

value
string
required

The value of the tag

type
enum<string>
required

The type of the tag

Available options:
file,
segment
file_id
string<uuid>
required

The ID of the file

segment_id
string<uuid>

The ID of the segment