Skip to main content
DELETE
Delete expense service category

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$
id
string
required

The expense category id

Query Parameters

forceDelete
boolean
default:false

Boolean. When false (default), a category that is used on an expense is not deleted and the request fails with CATEGORY_IN_USE. When true, the category is deleted anyway and the expenses that used it are kept, without a category. Whenever the category is deleted, the custom fields that belong to it are deleted too, together with their values on expenses.

Example:

true

Response

No content