---
title: "delete"
method: DELETE
path: "/v2/resellers/accounts/{accountId}/backup-tasks/{id}"
tags: ["Reseller Backup management"]
---

# delete

`DELETE /v2/resellers/accounts/{accountId}/backup-tasks/{id}`

## Request

- Base URL: `https://api.cloudally.com`
- URL: `https://api.cloudally.com/v2/resellers/accounts/{accountId}/backup-tasks/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/cloudally/apis/cloudally-rest-api/docs/v2/resellers/accounts/:accountId/backup-tasks/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a backup task, removing all the data.

## Path parameters

- `id` string, required
- `accountId` string, required

## Response `200`

Successful retrieval of the information.

- JsonResponseDTO
  - `success` boolean: A flag indicating a successful response
  - `status` string: Response status description
  - `statusCode` integer: Response return code

## Other responses

- `401`: The user is not logged in.
- `403`: The user does not have an access to view the account activity.

---

[API](https://skmtc.dev/cloudally/apis/cloudally-rest-api.md) - [All operations](https://skmtc.dev/cloudally/apis/cloudally-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudally/apis/cloudally-rest-api/revisions/97e3a3740b5b?raw)
