current_status_id is set to null (ON DELETE SET NULL). If this status appears in any status-history record, the deletion is rejected with a database foreign-key error (ON DELETE RESTRICT) rather than a friendly application error.authorization: ********************curl --location --request DELETE 'https://qa-api.kiolinkapp.com/v1/xc/statuses/xcs_TGJm3SEHdcjHVBnQ' \
--header 'authorization: <api-key>'{
"deleted": true
}