Skip to content

Assign Action to Unit

POST
/actions/{actionId}/units/{unitId}

Assigns an Action to a Unit, establishing compliance obligations for all Resources in that Unit whose type matches the Action’s targetResourceType. Both must belong to the same Space (same-space constraint). The Space must be active.

actionId
required
string
unitId
required
string
X-Space-Id
required
string format: uuid

UUID of the target Space (tenant boundary). Validated against user access.

Unauthorized — missing or invalid JWT

Forbidden — insufficient permissions

Resource not found

Conflict — resource already exists or constraint violated