/statuses/destroy/{sid}
Authentication is required.
Example: a POST request to /v1/statuses/destroy/10.xml
Responses
HTTP Status
200
- Success400
- Validation error401
- Invalid login details
Body
Fields:
success
(string) [optional]: Message indicating the autentication was successful.error
(string) [optional]: Message indicating the autentication was unsuccessful, or other errors that could occur.request
(string): Request endpoint
A successful response should look like this:
XML:
<hash>
<success>Status deleted successfully</success>
<request>/v1/statuses/destroy/10.xml</request>
</hash>
JSON:
{
"success": "Status deleted successfully",
"request": "/v1/statuses/destroy/10.json"
}
And a unsuccessful response should look like:
XML:
<hash>
<error>Status doesn't exist or you don't have permission to delete it</error>
<request>/v1/statuses/destroy/10.json</request>
</hash>
JSON:
{
"error": "Status doesn't exist or you don't have permission to delete it",
"request": "/v1/statuses/destroy/10.json"
}