> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-mux-docs-claude-6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IB20.renounceRole

> Generated B20 reference for renounceRole(bytes32,address).

## Signature

```solidity theme={null}
function renounceRole(bytes32 role, address callerConfirmation) external;
```

| Field               | Value                           |
| ------------------- | ------------------------------- |
| Selector            | `0x36568abe`                    |
| Canonical signature | `renounceRole(bytes32,address)` |

## Description

Caller renounces `role` for themselves. Emits `RoleRevoked`.

## Parameters

| Parameter            | Description              |
| -------------------- | ------------------------ |
| `role`               | Role to renounce.        |
| `callerConfirmation` | MUST equal `msg.sender`. |

## Reverts

* `AccessControlBadConfirmation` when `callerConfirmation != msg.sender`.
* `LastAdminCannotRenounce` when `role == DEFAULT_ADMIN_ROLE` and the caller is the last default admin.

## Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

## Policy interaction

No direct policy interaction.

## Example

```solidity theme={null}
IB20(target).renounceRole(role, callerConfirmation);
```
