Change a workspace member's role
Change a workspace member’s role with PATCH /v2/workspaces/members to view, manager, maintain or admin. It applies at once; only the owner can call it.
PATCH
Change a workspace member's role
string
required
The API key for your account. You can find this in your account settings.
workspaces:manage scope.
Changes the role of an existing workspace member, taking effect immediately on their access to the workspace’s shared applications. The four roles are view, manager, maintain and admin: the roles table shows what each one allows and its name in the dashboard.
Only the workspace owner can call this endpoint, and the owner cannot change their own role since they always hold full access. To add a new member instead of changing an existing one, see Invite Member. Rate limited to 3 edits per 15 seconds per user.
Parameters
string
required
The ID of the workspace.
string
required
The member ID.
Response
string
Indicates whether the call was successful:
success if it was, error if not.Common errors
Related
- CLI:
squarecloud workspace member update - SDKs:
api.workspaces.members.update()(JavaScript),client.workspaces.members.update()(Python),c.Workspaces.Members.Update()(Go)

