Removes a role from a member.
The removeRole()
function returns a Promise that resolves when the
specified role is removed from the specified member.
roleId
must be an ID from an existing role in your site.
The role ID can be copied from the Role Settings page.
You can access the Role Settings page from your site's
Member Permissions
page.
Note: This function may take a few seconds until the role is assigned and the promise is resolved.
ID of the role to remove from the member.
ID of the member to remove the role from.
Authorization options.