---
title: "POST /members/invite"
method: POST
path: "/members/invite"
---

# POST /members/invite

`POST /members/invite`

Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that the invitation is sent from.

This operation is only used to invite accounts that do not belong to an organization. Organization accounts do not receive invitations.

Before you can use this action to invite a member, you must first use the `CreateMembers` action to create the member account in Security Hub.

When the account owner enables Security Hub and accepts the invitation to become a member account, the administrator account can view the findings generated from the member account.

## Request body

- object
  - `AccountIds` NonEmptyString[], required — The list of account IDs of the Amazon Web Services accounts to invite to Security Hub as members.

## Response `200`

Success

- InviteMembersResponse
  - `UnprocessedAccounts` Result[] — The list of Amazon Web Services accounts that could not be processed. For each account, the list includes the account ID and the email address.
    - `AccountId` string — An Amazon Web Services account ID of the account that was not processed.
    - `ProcessingResult` string — The reason that the account was not processed.

## Other responses

- `480` — InternalException
- `481` — InvalidInputException
- `482` — InvalidAccessException
- `483` — LimitExceededException
- `484` — ResourceNotFoundException

---

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