Assign Resource to Unit
POST
/resources/{resourceId}/units/{unitId}
Assigns a Resource to a Unit, making it subject to all the Unit’s Action obligations whose targetResourceType matches the Resource’s type. 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 ” resourceId
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