---
title: "DELETE /deletepermission#permissionArn"
method: DELETE
path: "/deletepermission#permissionArn"
---

# DELETE /deletepermission#permissionArn

`DELETE /deletepermission#permissionArn`

Deletes the specified customer managed permission in the Amazon Web Services Region in which you call this operation. You can delete a customer managed permission only if it isn't attached to any resource share. The operation deletes all versions associated with the customer managed permission.

## Query parameters

- `permissionArn` string, required
- `clientToken` string

## Response `200`

Success

- DeletePermissionResponse
  - `returnValue` boolean — A boolean that indicates whether the delete operations succeeded.
  - `clientToken` string — The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the <code>clientToken</code> request parameter of that later call. All other parameters must also have the same values that you used in the first call.
  - `permissionStatus` 'ATTACHABLE' | 'UNATTACHABLE' | 'DELETING' | 'DELETED' — This operation is performed asynchronously, and this response parameter indicates the current status.

## Other responses

- `480` — MalformedArnException
- `481` — ServerInternalException
- `482` — ServiceUnavailableException
- `483` — OperationNotPermittedException
- `484` — UnknownResourceException
- `485` — InvalidClientTokenException
- `486` — IdempotentParameterMismatchException

---

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