Graphon API

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

The workspace id.

memberIdstring

The membership id.

Request body

rolestring

New role for the member. One of: viewer, editor, admin.

Was this page helpful?
View as Markdown