HTTP Verb: DELETE

Available statuses: 200 OK, 404 Not Found

Object: SSHServer

Location: n/a

Formats: XML, JSON

Delete a SSH server by id, this request is available to users with ALL permission only.

Params

No params available

Examples

Request XML, using cURL utility:

curl -i -X DELETE -H "Authorization: Bearer _token" https://api.assembla.com/v1/spaces/_space_id/ssh/servers/_id.xml

Response

HTTP/1.1 200 OK
Date: Tue, 21 May 2013 14:25:35 GMT
Server: Apache
Status: 200
Vary: Accept-Encoding
Content-Length: 1
Content-Type: application/xml; charset=utf-8

Request JSON, using cURL utility:

curl -i -X DELETE -H "Authorization: Bearer _token" https://api.assembla.com/v1/spaces/_space_id/ssh/servers/_id.json

Response

HTTP/1.1 200 OK
Date: Tue, 21 May 2013 14:26:18 GMT
Server: Apache
Status: 200
Content-Length: 2
Content-Type: application/json; charset=utf-8

{}

For delete operations no response body is available, the response status will tell you the result of the operation.