---
title: "Pause Deployment"
method: POST
path: "/api/deployments/{id}/pause_deployment"
tags: ["Deployments"]
---

# Pause Deployment

`POST /api/deployments/{id}/pause_deployment`

Set a deployment schedule to inactive. Any auto-scheduled runs still in a Scheduled
state will be deleted.

## Path parameters

- `id` string, uuid, required — The deployment id

## Headers

- `x-prefect-api-version` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/prefecthq/apis/untitled-api-2.md) · [All operations](https://skmtc.net/prefecthq/apis/untitled-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prefecthq/untitled-api-2/revisions/29ba6c4f8837/schema)
