# reboot

Reboot a flexi instance in your project. This command allows you to reboot a flexi instance. Available modes are soft and hard.

## Usage

```
cldkctl flexi-intance reboot [mode] [name] [flags]
```

## Aliases

```
reboot, restart
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl flexi-intance reboot [type] [instance-name] 
```

2. Replace **\[type]** with `soft` or `hard` and **\[instance-name]** with the name of the instance you want to reboot.
3. 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%2FHmnTohByKyodcPSkcVN3%2Fimage.png?alt=media&#x26;token=ef0a45c5-f85f-462f-892d-f8b7bbc16c62" 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 %}

| Flag                 | Description                  |
| -------------------- | ---------------------------- |
| -h, --help           | Help for the reboot command. |
| -p, --project string | Specify project ID.          |
