Skip to main content
DELETE
/
ssh_keys
/
{key_id}
Delete an SSH key
curl --request DELETE \
  --url {schemes}://api.upsun.com/ssh_keys/{key_id} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

key_id
integer
required

The ID of the ssh key.

Response

204

Success.

Last modified on April 17, 2026