cURL
curl --request DELETE \ --url https://console.vast.ai/api/v0/ssh/{id}/ \ --header 'Authorization: Bearer <token>'
200
Example
{ "success": true}
Removes an SSH key from the authenticated user’s account
CLI Usage: vastai delete ssh-key <id>
vastai delete ssh-key <id>
API key must be provided in the Authorization header
ID of the SSH key to delete
SSH key successfully deleted
true