Admin

Update Workspace User Role

Update a user's role in a workspace. Only organization admins or workspace admins can update user roles.

post/api/update_workspace_user_role

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/update_workspace_user_role
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Request body

user_emailstring required

Email of the user to update

workspace_namestring required

Name of the workspace

rolestring required

New role for the user

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.