Docs
Live demo

Delete an SSH key

DELETE/api/v2/ssh-keys/{id}

Delete an SSH key by ID. The key cannot be deleted while SSH tunnels sign in with it.

Refuses (409 ssh_key.in_use) while any tunnel uses the key.

Parameters

Path1 required of 1
idstringpathrequired

SSH Key ID (UUID)

Responses

204

No Content

409

SSH tunnels sign in with the key (code ssh_key.in_use, the tunnels are listed in resources)

Common errors: 400 401 403 404 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close