Skip to content

Delete a deploy key

DELETE
/api/v4/projects/{id}/deploy_keys/{key_id}

Deletes a deploy key from the project. If the deploy key is used only for this project, it is deleted from the system.

id
required
One of:
string

The ID or URL-encoded path of the project owned by the authenticated user

key_id
required
integer

The ID of the deploy key

Resource deleted

Bad Request

Unauthorized

Not found