|
sendspace API (beta) Developer GuideThe sendspace Application Programming Interface (API) allows you to embed sendspace services in your applications, programs, or scripts, regardless of platform and programming language. |
| Name | Mandatory | Description |
| session_key | Yes | Received from auth.login |
| folder_id | Yes | A folder_id code or 0 for root folder |
<result method="folders.delete" status="ok"> <status>ok</status> <id>$folder_id</id> </result>
http://api.sendspace.com/rest/?method=folders.delete&session_key=9i96woykgory1crglmykgycjwa5k2cq2&folder_id=id1y0r
| Code | Name | Description |
| 6 | API_ERROR_SESSION_BAD | Session expired or not found |
| 10 | API_ERROR_FOLDER_NOT_FOUND | Folder not found |
| 11 | API_ERROR_PERMISSION_DENIED | Permission denied |
| 14 | API_ERROR_FOLDER_NOT_EMPTY | Folder is not empty |