Skip to main content
POST
Creates one or more compliance categories.

Headers

X-Delogue-Api
string

Body

name
string

Display name for the new compliance category. Required, and must be unique within the organization.

userDefinedId
null | string

Optional customer-defined identifier. Must be unique within the organization when provided.

state
enum<string>

Initial lifecycle state of the category. Defaults to active. The value deleted is rejected on creation; use DELETE once the category exists.

Available options:
active,
inactive,
deleted

Response

Created

status
enum<string>
required

The coarse outcome of the request, indicating whether it succeeded or failed.

Available options:
success,
error
code
string
required

The specific machine-readable outcome code, such as ok on success or the most specific error code on failure. Always lowercase on the wire.

data
null | object[]
required

The response payload, either a single object for a by-id read or an array for a bulk operation. Omitted from the body when there is no value.