curl --request PUT \
--url https://core.ravenna.ai/api/statuses \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"id": "<string>",
"order": 123,
"label": "<string>"
}'
{
"id": "<string>",
"label": "<string>",
"order": 123,
"system": true,
"requestTypes": [
{
"id": "<string>",
"requestTypeId": "<string>"
}
],
"statusGroup": {
"id": "<string>",
"label": "<string>",
"workspaceId": "<string>"
},
"statusGroupId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
curl --request PUT \
--url https://core.ravenna.ai/api/statuses \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"id": "<string>",
"order": 123,
"label": "<string>"
}'
{
"id": "<string>",
"label": "<string>",
"order": 123,
"system": true,
"requestTypes": [
{
"id": "<string>",
"requestTypeId": "<string>"
}
],
"statusGroup": {
"id": "<string>",
"label": "<string>",
"workspaceId": "<string>"
},
"statusGroupId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
Successful response
The response is of type object
.
Was this page helpful?