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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” actionId
required
string
unitId
required
string
Header Parameters
Section titled “Header Parameters ” X-Space-Id
required
string format: uuid
UUID of the target Space (tenant boundary). Validated against user access.
Responses
Section titled “ Responses ”Unauthorized — missing or invalid JWT
Forbidden — insufficient permissions
Resource not found
Conflict — resource already exists or constraint violated