---
title: "POST /remove-draft-app-version-resource-mappings"
method: POST
path: "/remove-draft-app-version-resource-mappings"
---

# POST /remove-draft-app-version-resource-mappings

`POST /remove-draft-app-version-resource-mappings`

Removes resource mappings from a draft application version.

## Request body

- object
  - `appArn` string, required — Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.
  - `appRegistryAppNames` EntityName[] — The names of the registered applications you want to remove from the resource mappings.
  - `eksSourceNames` String255[] — <p>The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from the resource mappings.</p> <note> <p>This parameter accepts values in "eks-cluster/namespace" format.</p> </note>
  - `logicalStackNames` String255[] — The names of the CloudFormation stacks you want to remove from the resource mappings.
  - `resourceGroupNames` EntityName[] — The names of the resource groups you want to remove from the resource mappings.
  - `resourceNames` EntityName[] — The names of the resources you want to remove from the resource mappings.
  - `terraformSourceNames` String255[] — The names of the Terraform sources you want to remove from the resource mappings.

## Response `200`

Success

- RemoveDraftAppVersionResourceMappingsResponse
  - `appArn` string — Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.
  - `appVersion` string — The version of the application.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — ConflictException
- `483` — ThrottlingException
- `484` — ValidationException
- `485` — AccessDeniedException

---

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