---
title: "POST /ec2deepinspectionstatus/member/batch/get"
method: POST
path: "/ec2deepinspectionstatus/member/batch/get"
---

# POST /ec2deepinspectionstatus/member/batch/get

`POST /ec2deepinspectionstatus/member/batch/get`

Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.

## Request body

- object
  - `accountIds` AccountId[] — The unique identifiers for the Amazon Web Services accounts to retrieve Amazon Inspector deep inspection activation status for.

## Response `200`

Success

- BatchGetMemberEc2DeepInspectionStatusResponse
  - `accountIds` MemberAccountEc2DeepInspectionStatusState[] — An array of objects that provide details on the activation status of Amazon Inspector deep inspection for each of the requested accounts.
    - `accountId` string, required — The unique identifier for the Amazon Web Services account of the organization member
    - `status` 'ACTIVATED' | 'DEACTIVATED' | 'PENDING' | 'FAILED' — The state of Amazon Inspector deep inspection in the member account.
    - `errorMessage` string — The error message explaining why the account failed to activate Amazon Inspector deep inspection.
  - `failedAccountIds` FailedMemberAccountEc2DeepInspectionStatusState[] — An array of objects that provide details on any accounts that failed to activate Amazon Inspector deep inspection and why.
    - `accountId` string, required — The unique identifier for the Amazon Web Services account of the organization member that failed to activate Amazon Inspector deep inspection.
    - `ec2ScanStatus` 'ENABLING' | 'ENABLED' | 'DISABLING' | 'DISABLED' | 'SUSPENDING' | 'SUSPENDED' — The status of EC2 scanning in the account that failed to activate Amazon Inspector deep inspection.
    - `errorMessage` string — The error message explaining why the account failed to activate Amazon Inspector deep inspection.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ThrottlingException
- `483` — InternalServerException

---

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