Remove a CloudTrail delegated administrator - AWS CloudTrail

Remove a CloudTrail delegated administrator

You can remove a CloudTrail delegated administrator using the CloudTrail console or the AWS CLI.

CloudTrail console

The following procedure shows you how to remove a CloudTrail delegated administrator using the CloudTrail console.

  1. Sign in to the AWS Management Console and open the CloudTrail console at https://console.aws.amazon.com/cloudtrail/.

  2. Choose Settings in the left navigation pane of the CloudTrail console.

  3. In the Organization delegated administrators section, choose the delegated administrator that you want to remove.

  4. Choose Remove administrator.

  5. Confirm you want to remove the delegated administrator and then choose Remove administrator.

AWS CLI

The following command removes a CloudTrail delegated administrator.

aws cloudtrail deregister-organization-delegated-admin --delegated-admin-account-id="delegatedAdminAccountId"

This command produces no output if it's successful.