---
title: "POST /invitations/decline"
method: POST
path: "/invitations/decline"
---

# POST /invitations/decline

`POST /invitations/decline`

Declines invitations to become a member account.

A prospective member account uses this operation to decline an invitation to become a member.

This operation is only called by member accounts that aren't part of an organization. Organization accounts don't receive invitations.

## Request body

- object
  - `AccountIds` NonEmptyString[], required — The list of prospective member account IDs for which to decline an invitation.

## Response `200`

Success

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