tags

Update

POST
Updates a tag's information.

Request

This endpoint expects an object.
id
stringRequired
The ID of the tag to update.
allowed_values
objectOptional
Specifies an update to a tag's allowed values.
description
stringOptional
The updated description of the tag.
name
stringOptional
The updated name of the tag. The name must be unique across all tags.

Response

This endpoint returns an object
tag
object
POST
1curl -X POST https://api.devrev.ai/tags.update \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "TAG-12345"
6}'
200Successful
1{
2 "tag": {
3 "id": "id",
4 "name": "name",
5 "allowed_values": [
6 "allowed_values"
7 ],
8 "created_date": "2023-01-01T12:00:00Z",
9 "description": "description",
10 "display_id": "display_id",
11 "modified_date": "2023-01-01T12:00:00Z"
12 }
13}