DELETE /v1/spaces/:id
HTTP Verb: DELETE
Available statuses: 204 No Content, 404 Not Found
Object: Space
Location: n/a
Formats: XML, JSON
Delete a space by id, this request is available to space owners 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/_id.xml
Response
HTTP/1.1 204 No Content
Server: nginx/0.8.55
Date: Wed, 20 Jun 2012 12:13:01 GMT
Content-Type: application/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 204
Request JSON, using cURL utility:
curl -i -X DELETE -H "Authorization: Bearer _token" https://api.assembla.com/v1/spaces/_id.json
Response
HTTP/1.1 204 No Content
Server: nginx/0.8.55
Date: Wed, 20 Jun 2012 12:13:01 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 204
For delete operations no response body is available, the response status will tell you the result of the operation.