Skip to main content
POST
RemoveUserRole

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
identity
string

One of the user's identities, as listed in User.identities or returned by GetUserIdentities: "synq:<user_id>", "email:", "slack:<slack_user_id>" or "msteams:<member_id>".

Minimum string length: 1
role
enum<string>

UserRole is a role a member holds in the workspace. Names match the roles shown in Settings → Team.

Available options:
USER_ROLE_UNSPECIFIED,
USER_ROLE_ADMIN,
USER_ROLE_DEVELOPER,
USER_ROLE_ANALYST,
USER_ROLE_BUSINESS_USER

Response

200 - application/json

Success

user
User · object

The user as stored after the call. Unset when the call removed the user from the workspace, or the user was not a member.