The sendspace Application Programming Interface (API) allows you to embed sendspace services in your applications, programs, or scripts, regardless of platform and programming language.
All communication with the sendspace API (1.2) assumes a UTF-8 encoding.
< Return to Method List
Method: auth.logout
- Description
Logs out from a session.
- Arguments
Name | Mandatory | Description |
session_key | Yes | Received from auth.login |
- Returns
OK status
- Response
<result method="auth.logout" status="ok">
<status>ok</status>
</result>
- Usage Example
http://api.sendspace.com/rest/?method=auth.logout&session_key=zm2bh8t1n0kcjfr97kxbvyy8wch5vtek
- Possible Errors
Code | Name | Description |
6 | API_ERROR_SESSION_BAD | Session expired or not found |