1. API
  2. Cases
  3. Case statuses

Case statuses: Delete

Description

Delete a case status. Any cases currently using the deleted status are reassigned to the fallback status you provide.

Request

HTTP Method: DELETE

Path Parameter Description
case_sub_status_id The ID of the case status to delete.
Query Parameter Description
fallback_status_id The ID of the case status that cases using the deleted status are reassigned to.

Sample request

curl -X DELETE \
  "https://<tenant-domain>/api/v1/case_sub_statuses/<<case_sub_status_id>>?fallback_status_id=42" \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'

Response

A successful request will return an empty response with a 204 status code.

Was this helpful?