Skip to main content
DELETE
Delete Instance SSH Key

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

Instance contract ID from which to remove the SSH key.

key
integer
required

ID of the SSH key record to remove from the instance.

Response

200 - application/json

Returns {success: false, error: "no_such_ssh_key", msg: "SSH key not found."} when the key ID doesn't exist, or {success: false, error: "no_such_instance"} when instance not owned by caller.

success
boolean

True when key was removed

msg
string

Human-readable message