Update member role in scope
PATCH/memberships/:scopeKind/:scopePid/members/:memberPid
Changes the role of memberPid within the path scope. Requires a trusted origin and scope owner/admin; admins cannot grant, modify, or remove owner-level membership. Returns 404 when the membership is not in the scope; returns 422 on owner-ceiling or last-owner violations.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 503
Success
air/UnauthorizedError
air/ForbiddenError
NotFound
air/MembershipMutationError | air/SchemaValidationError
air/AuthUnavailableError