---
title: "POST /detector/{detectorId}/member/delete"
method: POST
path: "/detector/{detectorId}/member/delete"
---

# POST /detector/{detectorId}/member/delete

`POST /detector/{detectorId}/member/delete`

Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.

With `autoEnableOrganizationMembers` configuration for your organization set to `ALL`, you'll receive an error if you attempt to disable GuardDuty for a member account in your organization.

## Path parameters

- `detectorId` string, required

## Request body

- object
  - `accountIds` AccountId[], required — A list of account IDs of the GuardDuty member accounts that you want to delete.

## Response `200`

Success

- DeleteMembersResponse
  - `UnprocessedAccounts` UnprocessedAccount[], required — The accounts that could not be processed.
    - `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)
