---
title: "POST /2021-01-01/packages/dissociateMultiple"
method: POST
path: "/2021-01-01/packages/dissociateMultiple"
---

# POST /2021-01-01/packages/dissociateMultiple

`POST /2021-01-01/packages/dissociateMultiple`

Dissociates multiple packages from a domain simultaneously.

## Request body

- object
  - `PackageList` PackageID[], required — A list of package IDs to be dissociated from a domain.
  - `DomainName` string, required — The name of an OpenSearch Service domain. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.

## Response `200`

Success

- DissociatePackagesResponse
  - `DomainPackageDetailsList` DomainPackageDetails[] — A list of package details for the packages that were dissociated from the domain.
    - `PackageID` string — Internal ID of the package.
    - `PackageName` string — User-specified name of the package.
    - `PackageType` 'TXT-DICTIONARY' | 'ZIP-PLUGIN' | 'PACKAGE-LICENSE' | 'PACKAGE-CONFIG' — The type of package.
    - `LastUpdated` string, date-time — Timestamp of the most recent update to the package association status.
    - `DomainName` string — Name of the domain that the package is associated with.
    - `DomainPackageStatus` 'ASSOCIATING' | 'ASSOCIATION_FAILED' | 'ACTIVE' | 'DISSOCIATING' | 'DISSOCIATION_FAILED' — State of the association.
    - `PackageVersion` string — The current version of the package.
    - `PrerequisitePackageIDList` PackageID[] — A list of package IDs that must be associated with the domain before or with the package can be associated.
    - `ReferencePath` string — The relative path of the package on the OpenSearch Service cluster nodes. This is <code>synonym_path</code> when the package is for synonym files.
    - `ErrorDetails` object — Additional information if the package is in an error state. Null otherwise.
      - `ErrorType` string — The type of error that occurred.
      - `ErrorMessage` string — A message describing the error.
    - `AssociationConfiguration` object — The configuration for associating a package with an Amazon OpenSearch Service domain.
      - `KeyStoreAccessOption` object — The configuration parameters to enable accessing the key store required by the package.
        - `KeyAccessRoleArn` string — Role ARN to access the KeyStore Key
        - `KeyStoreAccessEnabled` boolean, required — This indicates whether Key Store access is enabled

## Other responses

- `480` — BaseException
- `481` — InternalException
- `482` — ResourceNotFoundException
- `483` — ValidationException
- `484` — ConflictException
- `485` — DisabledOperationException

---

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