cURL
curl --request PATCH \ --url http://localhost:8000/v1/tickets/priority/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "displayName": "High", "description": "This is a high priority ticket", "isDefault": true, "name": "High" }'
{ "status": true, "message": "Success", "timestamp": "2024-01-01T00:00:00.000Z", "data": { "id": "<string>", "name": "<string>", "displayName": "<string>", "description": "<string>", "teamId": "<string>", "organizationId": "<string>", "isDefault": true } }
Enter the bearer token
Operation successful
The response is of type object.
object