---
title: "POST /detector/{detectorId}/member/invite"
method: POST
path: "/detector/{detectorId}/member/invite"
---

# POST /detector/{detectorId}/member/invite

`POST /detector/{detectorId}/member/invite`

Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account.

## Path parameters

- `detectorId` string, required

## Request body

- object
  - `accountIds` AccountId[], required — A list of account IDs of the accounts that you want to invite to GuardDuty as members.
  - `disableEmailNotification` boolean — A Boolean value that specifies whether you want to disable email notification to the accounts that you are inviting to GuardDuty as members.
  - `message` string — The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.

## Response `200`

Success

- InviteMembersResponse
  - `UnprocessedAccounts` UnprocessedAccount[], required — A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.
    - `AccountId` string, required — The Amazon Web Services account ID.
    - `Result` string, required — A reason why the account hasn't been processed.

## Other responses

- `480` — BadRequestException
- `481` — InternalServerErrorException

---

[API](https://skmtc.net/aws/apis/guardduty.md) · [All operations](https://skmtc.net/aws/apis/guardduty/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/guardduty/versions/d35ef49b25a3/schema)
