# backup-scheduler-delete

Delete a backup scheduler that is responsible for creating backups of flexi images. This command allows you to remove a backup scheduler that is no longer needed or to stop scheduled backups.

## Usage

```
cldkctl flexi-image backup-scheduler-delete [flags]
```

## Aliases

```
backup-scheduler-delete, del-backup-scheduler
```

## Steps

Follow the steps below to run and view the result of this command:

1. Refer to the [**Backup Scheduler List**](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-flexi-image/backup-scheduler-list) section to obtain the **backup scheduler ID**.
2. Run the following command in your terminal:

```
cldkctl flexi-image backup-scheduler-delete [backup_scheduler_id] 
```

3. Replace **\[backup\_scheduler\_id]** with the actual backup scheduler ID.
4. Once completed successfully, the terminal displays the success message.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FiW40mldNdPqKFxoaYAg8%2Fimage.png?alt=media&#x26;token=9a5a0515-b345-4dc4-9e9e-e18d956a46e8" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](https://docs.cloudeka.ai/cloudeka-api-list/global-flags). Refer to the Global Flags section for details
{% endhint %}

<table><thead><tr><th width="206">Flag</th><th>Description</th></tr></thead><tbody><tr><td>-h, --help</td><td>Help for the backup-scheduler-delete command.</td></tr></tbody></table>
