curl --request POST \
--url http://localhost:8000/v1/tickets/type \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"color": "#000000",
"icon": "<string>",
"autoAssign": true,
"isActive": true,
"name": "Bug",
"teamId": "team_123"
}'
{
"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
}
}
curl --request POST \
--url http://localhost:8000/v1/tickets/type \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"color": "#000000",
"icon": "<string>",
"autoAssign": true,
"isActive": true,
"name": "Bug",
"teamId": "team_123"
}'
{
"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
Operation successful
The response is of type object
.