Account
Change a workspace member's role
Sets the member to owner, admin or member. Only a workspace Owner or Admin can, and only an Owner can touch an owner's role.
post/api/v1/account/workspace-members/{memberId}/role
Request
- Base URL: https://api.dotsy.ai
- URL: https://api.dotsy.ai/api/v1/account/workspace-members/{memberId}/role
- Auth: HTTP bearer
Path parameters
memberIdstring required
The membership id, from listWorkspaceMembers.
Headers
X-Dotsy-Workspacestring
Org id or slug to act as for this request (session/MCP user actors only — ignored for pga_ keys). Validated against the caller's own memberships (id match first, then slug); 403 if not a member. Takes precedence over session.activeOrganizationId and the auto-provisioned home-workspace fallback.
Request body
Response
The role was changed.
Changes
No recorded changes to this operation across all 1 revision of this API.