DELETE photos/:id
Deletes the photo from the User's library.
- id (required) — The Photo ID to delete.
A JSON object containing keys: status, message and error(if happened).
All known errors cause the resource to return HTTP error code header together with a JSON array containing at least 'status' and 'error' keys describing the source of error.
- 403 Forbidden — You do not own the photo you are trying to delete.
- 404 Not Found — The requested photo does not exist or was deleted.
Request
DELETE v1/photos/8359543
Return
{
"status": 200,
"message": "Successfully deleted a photo.",
"error": "None"
}