PATCH
/
tags
/
{tagId}
Update a tag
curl --request PATCH \
  --url https://helpcenter.thena.ai/tags/{tagId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "Feature Request"
}'
{
  "data": {
    "_id": "672de3624def8e23e1343253",
    "orgId": "667d37bb3a401eba4a609426",
    "name": "Feature Request",
    "lowerName": "feature request",
    "createdBy": "667d37bd1e87838451261acb",
    "createdAt": "2024-11-08T10:09:38.815Z",
    "updatedAt": "2024-11-08T10:09:38.815Z"
  },
  "message": "Tag updated successfully"
}

Authorizations

x-api-key
string
header
required

Enter your API key (format: keyId.keySecret)

Path Parameters

tagId
string
required

MongoDB ObjectId of the tag

Example:

"507f1f77bcf86cd799439011"

Body

application/json

Response

200
application/json

Tag updated successfully

The response is of type object.