# DELETE /repos/{owner}/{repo}/keys/{key_id}

**Resource:** [repos](../resources/repos.md)
**Delete a deploy key**
**Operation ID:** `repos/delete-deploy-key`

Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.

## Responses

| Status | Description |
|--------|-------------|
| 204 | Response |

