---
title: "Delete deploy key"
method: POST
path: "/deployments/{deployment_name}/delete_deploy_key"
tags: ["Deploy Keys"]
---

# Delete deploy key

`POST /deployments/{deployment_name}/delete_deploy_key`

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

## Request body

- PlatformDeleteDeployKeyArgs
  - `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)
