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

# POST /members/delete

`POST /members/delete`

Deletes the specified member accounts from Security Hub.

Can be used to delete member accounts that belong to an organization as well as member accounts that were invited manually.

## Request body

- object
  - `AccountIds` NonEmptyString[], required — The list of account IDs for the member accounts to delete.

## Response `200`

Success

- DeleteMembersResponse
  - `UnprocessedAccounts` Result[] — The list of Amazon Web Services accounts that were not deleted. 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)
