> ## Documentation Index
> Fetch the complete documentation index at: https://astronomer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# astro deployment hibernate

> Hibernate a Deployment.

[Hibernate an Astro development Deployment](https://astronomer.io/docs/astro/deployment-resources.md#hibernate-a-development-deployment) for a set amount of time. Overrides any existing hibernation schedule and sets the Deployment to hibernate for a specific duration or until a specific date.

> [!NOTE]
>
> To complete this action, you need [Workspace Operator](https://astronomer.io/docs/astro/user-permissions.md#workspace-roles) permissions or a custom Deployment role that includes `deployment.hibernation.update`. Every option on this command sets or removes a hibernation override, so they all require this permission. Creating and editing hibernation schedules requires `deployment.update` instead. See [Custom role permissions reference](https://astronomer.io/docs/astro/deployment-role-reference.md#deployment-hibernation).

## Usage

```sh wrap theme={null}
astro deployment hibernate [one of --until/ --for/ --remove-override]
```

## Options

| Option | Description | Possible Values |
| - | - | - |
| `-n`,`--deployment-name` | The name of the development Deployment to hibernate. | Any valid Deployment name |
| `-u, --until` | Specify the hibernation period using an end date and time. | Any future date in the format `YYYY-MM-DDT00:00:00Z` |
| `-d, --for` | Specify the hibernation period using a duration. | Any amount of time in the format `XhYm` |
| `-r, --remove-override` | Remove any existing override and resume regular hibernation schedule. | None |
| `-f, --force` | The CLI will not prompt to confirm before hibernating the Deployment. | None |

## Related commands

* [`astro deployment wake-up`](https://astronomer.io/docs/cli/v1.46/astro-deployment-wake-up)
