Grouping Types: Remove
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
defaultslug grouping type cannot be removed. If you do not want to use this, you should update the grouping type so thatis_reportableis 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