Thrust Carbon

Grouping Types: Remove

DELETE
/grouping-types/{slug}

Removes a given grouping type.

Please note:

  • No groupings can be associated with a grouping type that you want to remove. If you attempt to remove a grouping type with groupings you will receive a 422 response.
  • The default slug grouping type cannot be removed. If you do not want to use this, you should update the grouping type so that is_reportable is false.

Path Parameters

slug*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/grouping-types/cost-centre" \  -H "Content-Type: application/json" \  -d '{}'
Empty