---
title: "Delete preview deploy key"
method: POST
path: "/projects/{project_id}/delete_preview_deploy_key"
tags: ["Deploy Keys"]
---

# Delete preview deploy key

`POST /projects/{project_id}/delete_preview_deploy_key`

Deletes a preview deploy key for the specified project. The `id` in the
request body can be the full preview deploy key (with prefix), encoded
token, or the name of the preview deploy key.

## Path parameters

- `project_id` integer, required

## Request body

- PlatformDeletePreviewDeployKeyArgs
  - `id` string, required — The token to delete. This can be the secret value of the token or the token's unique name.

## Response `200`

---

[API](https://skmtc.net/convex/apis/convex-management-api.md) · [All operations](https://skmtc.net/convex/apis/convex-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/convex/convex-management-api/versions/cfe35d359fba/schema)
