# Delete a cloud account

Source: https://www.jawsdeploy.net/rest-api/cloud-accounts-delete | Section: Cloud Accounts

Soft-delete a cloud account.

`DELETE /api/cloud-account`

Soft-deletes the cloud account.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `accountId` | query | string | yes | ID of the cloud account. |

## Errors

| Status | Meaning |
|---|---|
| 400 | Invalid `accountId`. |
| 401 | Missing or invalid Basic auth credentials, or the service account lacks the required role. |

Example request:

```
DELETE /api/cloud-account?accountId=ca_1
```

Example response:

```
{}
```

