delete_resource
Deletes a single resource from a specific skin.
Parameters
- action
- delete_resource
- resource
- The filename of the resource to delete.
- type
-
The type of resource to delete (such as
imgorxql) - resskin
- The skin from which to delete a resource.
Example URL
http://<host>:<port>/<context>/web/dev.xql?action=delete_resource&resource=<value>&type=<value>&resskin=<value>
Successful Result
This function returns a standard API result element (<result status='SUCCESS' statusCode='0' message='Localized Message' messageKey='message.key'/>). A statusCode of 0 indicates a successful execution. Any other statusCode indicates a failure.
Failed Result
Accessing this API feature requires the "Develop app" permission, and the function will throw a permission exception if the permission is not available.