API
SSH Keys
Delete SSH key

Delete a SSH Key

  • Name
    delete
    Type
    /v1/ssh_keys/:id
    Description

    Send a DELETE request to delete a ssh key.

Request

Example

curl -X DELETE "https://api.simplystack.com/v1/ssh_keys/1" \
  -H "Content-Type: application/json" \
  -H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0" \
 

Response

Response to method DELETE to /v1/ssh_keys/:id will not return any results, only the message (204 No Content) which indicates that the deletion was successful.