Delete Unit
DELETE
/units/{unitId}
Permanently deletes a Unit and all its associations (Resource-Unit and Action-Unit links). The parent Space must be active. Resources and Actions themselves are NOT deleted.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” 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