DeluxHostAPI Reference
Account SSH keys

Delete an SSH key

DELETE
/v1/ssh-keys/{id}

Requires confirm: true. Inspect the resource before retrying an uncertain outcome.

Authorization

apiToken ssh-keys:write
headerAuthorizationBearer <token>

A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.

Scope: ssh-keys:write

Path Parameters

id*number

Request Body

application/json
  1. body
confirm*boolean

Response Body

Operation completed or accepted; asynchronous actions may still be running.

application/json
  1. response
ok*boolean
curl -X DELETE 'https://api.deluxhost.net/v1/ssh-keys/0' \  -H "Authorization: Bearer $DELUXHOST_TOKEN" \  -H 'Content-Type: application/json' \  -d '{  "confirm": true}'
Example Response
{  "ok": true}