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

# POST /invitation/delete

`POST /invitation/delete`

Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.

## Request body

- object
  - `accountIds` AccountId[], required — A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member account that you want to delete invitations from.

## Response `200`

Success

- DeleteInvitationsResponse
  - `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)
