Skip to content

Get Administrator Account

guardduty_get_administrator_account R Documentation

Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account

Description

Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account.

If the organization's management account or a delegated administrator runs this API, it will return success (⁠HTTP 200⁠) but no content.

Usage

guardduty_get_administrator_account(DetectorId)

Arguments

DetectorId

[required] The unique ID of the detector of the GuardDuty member account.

Value

A list with the following syntax:

list(
  Administrator = list(
    AccountId = "string",
    InvitationId = "string",
    RelationshipStatus = "string",
    InvitedAt = "string"
  )
)

Request syntax

svc$get_administrator_account(
  DetectorId = "string"
)