To delete an SSH from the system (and from the user profile), use the following request:
DELETE /settings/ssh_keys/:id.xmlDELETE /settings/ssh_keys/:id.json
XML Request Example
curl -X DELETE -u user:userpass http://test/settings/ssh_keys/12.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'
JSON Request Example
curl -X DELETE -u user:userpass http://test/settings/ssh_keys/12.json -H 'Accept: application/json' -H 'Content-type: application/json'