Skip to content

@salesforce/b2c-tooling-sdk / operations/users / revokeRole

Function: revokeRole() ​

revokeRole(client, options): Promise<{ }>

Defined in: packages/b2c-tooling-sdk/src/operations/users/index.ts:236

Revokes a role from a user, optionally removing specific scope.

Parameters ​

client ​

AccountManagerUsersClient

Account Manager client

options ​

RevokeRoleOptions

Revoke options (userId, role, optional scope)

Returns ​

Promise<{ }>

Updated user

Released under the Apache-2.0 License.