TwentyThree Developer APIAPI Method: /api/file/delete

API Method: /api/file/delete

Last updated on September 2, 2016.

Delete a design file.

Parameters

ParameterDescription
filename (required)The name of the file to delete.
object_idOptional integer identifier of the object the file is related to, for example a theme or a player.

Permission level

The minimum required permission level is:

write

Example XML Response

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

Example JSON Response

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