cURL
curl --request PATCH \ --url https://platform.thena.ai/v1/tickets/type/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --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 } }
Enter the bearer token
The color of the ticket type
"#000000"
Link to the icon of the ticket type
Whether to auto assign the ticket type
true
Whether the ticket type is active
The name of the ticket type
"Bug"
Operation successful
The status of the response
The message of the response
The timestamp of the response
The response for create/update/delete ticket type operations
Show child attributes