Delete a deploy key
DELETE
/repos/{owner}/{repo}/keys/{key_id}
Deploy keys are immutable. If you need to update a key, remove the key and create a new one instead.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” owner
required
string
The account owner of the repository. The name is not case sensitive.
repo
required
string
The name of the repository without the .git extension. The name is not case sensitive.
key_id
required
integer
The unique identifier of the key.
Responses
Section titled “ Responses ”Response