API Documentation

Delete SSH Key

Remove an SSH key by its fingerprint id. The web-terminal key cannot be deleted.

Required scope: webspace:manage

Headers

Header Required Value
Authorization Yes Bearer YOUR_API_KEY

Response

{ "data": { "id": "sha256-hQ0YFLi6TKgF...", "deleted": true } }

Error Responses

Status Code Description
404 KEY_NOT_FOUND Key id is not present in authorized_keys.

Example

curl -X DELETE https://hosting.site.quest/api/v1/webspaces/69e80ac1.../ssh-keys/sha256-hQ0... \
  -H "Authorization: Bearer sq_live_..."

MCP

This action is also available via the webspace_delete_ssh_key MCP tool.