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

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

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

Disassociates GuardDuty member accounts (to the current 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 disassociate a member account before removing them from your Amazon Web Services 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 disassociate from the administrator account.

## Response `200`

Success

- DisassociateMembersResponse
  - `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/revisions/d35ef49b25a3/schema)
