---
title: "Delete AWS key"
method: DELETE
path: "/business/aws-keys/{id}"
tags: ["Aws Keys"]
---

# Delete AWS key

`DELETE /business/aws-keys/{id}`

## Request

- Base URL: `https://asm.cloud.tenable.com/api/1.0`
- URL: `https://asm.cloud.tenable.com/api/1.0/business/aws-keys/{id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/tenable/apis/attack-surface-management/docs/business/aws-keys/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes the specified Amazon Web Services (AWS) key.

## Path parameters

- `id` integer, required

## Response `200`

Returned if Tenable Attack Surface Management successfully received the request to delete the specified AWS key.

- object
  - `success` boolean: Indicates whether Tenable Attack Surface Management successfully deleted the specified AWS key or not.

## Other responses

- `401`: Returned if you do not have permissions to delete AWS keys.
- `404`: Returned if Tenable Attack Surface Management could not find specified AWS key.
- `500`: Returned if an internal error occurred in Tenable Attack Surface Management.

---

[API](https://skmtc.dev/tenable/apis/attack-surface-management.md) - [All operations](https://skmtc.dev/tenable/apis/attack-surface-management/llms.txt) - [OpenAPI document](https://skmtc.dev/tenable/apis/attack-surface-management/revisions/465c06285e48?raw)
