unassignRole( )


Unassigns a role from group members.

Note: This function is only relevant for site admins, and group members with group admin permissions.

について unassignRole() function returns a Promise that resolves to the unassigned role after it has successfully been unassigned. This function only applies to admin roles. Using this function with member roles returns an error.

メソッド宣言
コピー
メソッド・パラメータ
groupIdstringRequired

Group ID.


memberIdsArray<string>Required

Member IDs.

Max: 100 member IDs


roleGroupRoleRequired

Role to unassign.


optionsUnassignRoleOptions
リターン
Return Type:Promise<UnassignRoleResponse>
役に立ちましたか?
はい
いいえ