network.habitat.relationship.check
GET/network.habitat.relationship.check
Check whether a subject holds a role on a space. The subject is either a user (DID) or a space-role userset (a space URI plus subjectRole), resolving through space-role usersets (groups, including org member/admin groups, are spaces, so group membership and nested groups resolve as space-role usersets) and built-in role implications (owner implies manager implies writer implies reader). Caller must have the reader role on the space.
Request
Responses
- 200
- 400
- 401
OK
Bad Request
Unauthorized