cURL
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" }
Update a tag
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the tag
Tag update parameters. At least one of label or value is required.
The label of the tag
The value of the tag
Tag updated successfully
The type of the tag
file
segment
The ID of the file
The ID of the segment