Authorizations
Path Parameters
Query Parameters
Response
Successful response
Available options:
request-type
, collection
Available options:
URGENT
, HIGH
, MEDIUM
, LOW
curl --request DELETE \
--url https://core.ravenna.ai/api/request-types/{id} \
--header 'x-ravenna-api-token: <api-key>'
{
"id": "<string>",
"name": "<string>",
"emoji": "<string>",
"icon": "<string>",
"isDefault": true,
"published": true,
"jobId": "<string>",
"color": "<string>",
"description": "<string>",
"aiExamples": "<string>",
"aiResponse": "<string>",
"workspaceId": "<string>",
"titleTemplate": "<string>",
"defaultQueueId": "<string>",
"defaultStatusId": "<string>",
"defaultPriority": "URGENT",
"type": "request-type",
"parentId": "<string>",
"parent": {
"id": "<string>",
"name": "<string>"
},
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "<string>"
}
],
"customFields": [
{
"id": "<string>",
"order": 123,
"private": true,
"requestTypeId": "<string>",
"customField": {
"id": "<string>",
"workspaceId": "<string>",
"key": "<string>",
"label": "<string>",
"description": "<string>",
"required": true,
"system": true,
"config": null,
"type": "TEXT",
"options": [
{
"id": "<string>",
"value": "<string>",
"order": 123,
"description": "<string>",
"color": "<string>",
"icon": "<string>",
"customFieldId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"_count": {
"requestTypeCustomField": 123
}
},
"customFieldId": "<string>",
"ticketField": "TITLE",
"required": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"parentId": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>"
}
curl --request DELETE \
--url https://core.ravenna.ai/api/request-types/{id} \
--header 'x-ravenna-api-token: <api-key>'
{
"id": "<string>",
"name": "<string>",
"emoji": "<string>",
"icon": "<string>",
"isDefault": true,
"published": true,
"jobId": "<string>",
"color": "<string>",
"description": "<string>",
"aiExamples": "<string>",
"aiResponse": "<string>",
"workspaceId": "<string>",
"titleTemplate": "<string>",
"defaultQueueId": "<string>",
"defaultStatusId": "<string>",
"defaultPriority": "URGENT",
"type": "request-type",
"parentId": "<string>",
"parent": {
"id": "<string>",
"name": "<string>"
},
"tags": [
{
"id": "<string>",
"name": "<string>",
"color": "<string>"
}
],
"customFields": [
{
"id": "<string>",
"order": 123,
"private": true,
"requestTypeId": "<string>",
"customField": {
"id": "<string>",
"workspaceId": "<string>",
"key": "<string>",
"label": "<string>",
"description": "<string>",
"required": true,
"system": true,
"config": null,
"type": "TEXT",
"options": [
{
"id": "<string>",
"value": "<string>",
"order": 123,
"description": "<string>",
"color": "<string>",
"icon": "<string>",
"customFieldId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"_count": {
"requestTypeCustomField": 123
}
},
"customFieldId": "<string>",
"ticketField": "TITLE",
"required": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"parentId": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>"
}
Successful response
request-type
, collection
Show child attributes
Show child attributes
Show child attributes
URGENT
, HIGH
, MEDIUM
, LOW
Was this page helpful?