v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1451299221.6 KB

Revokes the permission of another Amazon Web Services account to be able to put events to the specified event bus. Specify the account to revoke by the <code>StatementId</code> value that you associated with the account when you granted it permission with <code>PutPermission</code>. You can find the <code>StatementId</code> by using <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_DescribeEventBus.html">DescribeEventBus</a>.

post/#X-Amz-Target=AWSEvents.RemovePermission

Headers

X-Amz-Target'AWSEvents.RemovePermission' required

Request body

StatementIdstring

The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.

RemoveAllPermissionsboolean

Specifies whether to remove all permissions.

EventBusNamestring

The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.

Response

Success