Vast.ai API
Accounts

delete ssh key

1min
DELETE
https://console.vast.ai/api/v0/ssh/{id}/
Production server

Removes an SSH key from the authenticated user's account CLI Usage: vastai delete ssh-key `

Authentication
BearerAuth
Path Parameters
id
*
Responses
200
SSH key successfully deleted
Example
{"success":true}
success
*
400
Invalid request or SSH key not found
success
*
error
*
msg
*




Updated 14 Feb 2025
Did this page help you?