TwentyThree Developer APIAPI Method: /api/photo/delete

API Method: /api/photo/delete

Last updated on June 3, 2013.

Delete a photo or video.

Parameters

ParameterDescription
photo_id (required)The photo or video to delete.

Permission level

The minimum required permission level is:

write

Example XML Response

<response status="ok" permission_level="write" 
  message="The photo/video was deleted" cached="0"/>

Example JSON Response

{
  "status": "ok", 
  "message":"The photo/video was deleted",
  "permission_level":"write",
  "cached":"0",
  "photo":{},
  "p": "1",
  "size": "1",
  "site": { ... },
  "endpoint": "/api/photo/delete"
}