HTTP Verb: DELETE

Available statuses: 200 OK, 404 Not Found

Object: WikiPage

Location: n/a

Formats: XML, JSON

Move all child pages up one level and delete the wiki page.

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/wiki_pages/_id/container.xml

Response:

HTTP/1.1 200 OK
Server: nginx/0.8.55
Date: Fri, 07 Sep 2012 13:08:42 GMT
Content-Type: application/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 200
...

Request JSON, using cURL utility:

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

Response:

HTTP/1.1 200 OK
Server: nginx/0.8.55
Date: Fri, 07 Sep 2012 13:12:30 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 200
...

{}

JSON is formatted here for readability, in a real response JSON body is inline with no indentation.

Description for each field: wiki page object fields reference