---
title: "Delete an AWS account role"
method: DELETE
path: "/core/v1/cloudconnect/aws/accounts/{accountID}"
tags: ["Cloud Connect"]
---

# Delete an AWS account role

`DELETE /core/v1/cloudconnect/aws/accounts/{accountID}`

Deletes a CloudConnect document for an AWS account.

## Response `200`

OK - Role deleted successfully.

## Other responses

- `400` — Bad Request - The server cannot process the request, often due to a malformed request.
- `401` — Unauthorized - Invalid API key.
- `403` — Forbidden - The client is not authorized to perform the request.
- `500` — Internal Server Error - Something went wrong with the DoiT API server.

---

[API](https://skmtc.dev/doit/apis/doit-cloud-intelligence.md) · [All operations](https://skmtc.dev/doit/apis/doit-cloud-intelligence/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/doit/doit-cloud-intelligence/revisions/9416402fc119/schema)
