Update a member role
Changes a member's role. Requires the admin role. The last admin cannot become a viewer or editor.
PATCH
/v1/workspaces/{workspaceId}/members/{memberId}Authentication
Send your Graphon API key with every request. The value is the whole API key that Graphon showed when you created it. See Authentication.
Authorization: Bearer <GRAPHON_API_KEY>Path parameters
workspaceIdstringThe workspace id.
memberIdstringThe membership id.
Request body
rolestringNew role for the member. One of: viewer, editor, admin.
Was this page helpful?