members
Change a member's role.
Sets the member's org role. RBAC is locally authoritative (ADR-0019 §2); WorkOS is not written. Guards: only an owner may grant or revoke the owner role (an admin cannot mint owners); you cannot change your own role; the last owner cannot be demoted (409).
patch/v1/orgs/{orgId}/members/{userId}
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/v1/orgs/{orgId}/members/{userId}
- Auth: one of:
- API key in cookie dvt_session
- HTTP bearer
Request body
Response
Updated member.
Changes
No recorded changes to this operation across all 1 revision of this API.