PATCH
/
v1
/
tickets
/
status
/
{id}
Update a ticket status
curl --request PATCH \
  --url https://platform.thena.ai/v1/tickets/status/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "displayName": "<string>",
  "description": "<string>",
  "isDefault": true,
  "name": "<string>"
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "displayName": "<string>",
    "description": "<string>",
    "isDefault": true,
    "teamId": "<string>",
    "organizationId": "<string>",
    "parentStatusId": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

id
string
required

Body

application/json
displayName
string

The display name of the ticket status

description
string

The description of the ticket status

isDefault
boolean

Whether the ticket status is default

name
string

The name of the ticket status

Response

Operation successful

status
boolean
default:true
required

The status of the response

message
string
default:Success
required

The message of the response

timestamp
string<date-time>
default:2024-01-01T00:00:00.000Z
required

The timestamp of the response

data
object
required

The response for create/update/delete ticket status operations