Skip to main content
PUT
/
tags
/
{id}
Toggle Tag Status
curl --request PUT \
  --url https://api.promptmetrics.dev/tags/{id} \
  --header 'Authorization: Bearer <token>'
{
  "responseData": {
    "data": {
      "_id": "<string>",
      "name": "<string>",
      "workspace_id": "<string>",
      "status": "ACTIVE",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  },
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

Tag status updated

responseData
object
message
string