v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467438317.3 KB

Returns information about the account selected as the delegated administrator for GuardDuty.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

get/detector/{detectorId}/admin

Path parameters

detectorIdstring required

The ID of the detector to retrieve information about the delegated administrator from.

Query parameters

maxResultsinteger

You can use this parameter to indicate the maximum number of items that you want in the response.

nextTokenstring

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill <code>nextToken</code> in the request with the value of <code>NextToken</code> from the previous response to continue listing data.

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Response

Success

AutoEnableboolean
<p>Indicates whether GuardDuty is automatically enabled for accounts added to the organization.</p> <p>Even though this is still supported, we recommend using <code>AutoEnableOrganizationMembers</code> to achieve the similar results.</p>This field is deprecated, use AutoEnableOrganizationMembers instead
MemberAccountLimitReachedboolean required

Indicates whether the maximum number of allowed member accounts are already associated with the delegated administrator account for your organization.

NextTokenstring

The pagination parameter to be used on the next list operation to retrieve more items.

AutoEnableOrganizationMembers'NEW' | 'ALL' | 'NONE'
<p>Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization.</p> <ul> <li> <p> <code>NEW</code>: Indicates that when a new account joins the organization, they will have GuardDuty enabled automatically. </p> </li> <li> <p> <code>ALL</code>: Indicates that all accounts in the Amazon Web Services Organization have GuardDuty enabled automatically. This includes <code>NEW</code> accounts that join the organization and accounts that may have been suspended or removed from the organization in GuardDuty.</p> </li> <li> <p> <code>NONE</code>: Indicates that GuardDuty will not be automatically enabled for any accounts in the organization. GuardDuty must be managed for each account individually by the administrator.</p> </li> </ul>