Home > @3rdweb/sdk > ModuleWithRoles > revokeAllRolesFromAddress
Call this to revoke all roles given to a specific address.
Signature:
revokeAllRolesFromAddress(address: string): Promise<Role[]>;
Parameter | Type | Description |
---|---|---|
address | string | The address to revoke all roles for. |
Returns:
Promise<Role[]>
A list of roles that were revoked.