PATCH
/
v1
/
tickets
/
type
/
{id}
curl --request PATCH \
  --url https://platform.thena.ai/v1/tickets/type/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "color": "#000000",
  "icon": "<string>",
  "autoAssign": true,
  "isActive": true,
  "name": "Bug"
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "color": "<string>",
    "icon": "<string>",
    "isActive": true,
    "teamId": "<string>",
    "organizationId": "<string>",
    "autoAssign": true,
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Operation successful

The response is of type object.