SSH Keys
Delete an SSH public key
Removes the key from the org and scrubs it from every VM it was attached to. Refused with 409 (code KEY_IN_USE) when it is the only key that still grants access to a VM, since deleting it would strand that VM; attach another key to those VMs first. listOrgSshKeys reports this as blockingVms.
Command line
The orl CLI wraps this endpoint:
orl ssh-keys delete <id>Authorization
apiKey AuthorizationBearer <token>
OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
In: header
Path Parameters
orgId*string
id*string
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/orgs/string/ssh-keys/string"Empty