SSH Keys

Delete an SSH key. If the key is in use by nodes, returns 409 with the list of node IDs. Use force=true to delete the key even if it is in use.

delete/v1/ssh-keys/{key-id}

Request

  • Base URL
    http://127.0.0.1:8000
  • URL
    http://127.0.0.1:8000/v1/ssh-keys/{key-id}
  • Auth
    HTTP bearer

Path parameters

key-idinteger required

SSH key ID

Query parameters

forceboolean

Force delete even if the key is in use by nodes

Response

SSH key deleted successfully

Changes