Documentation Center

delete_skin

Deletes a skin and all of its resources from the database.

Parameters

action
delete_skin
delete
A flag to trigger the actual delete to occur. If set to "true" then the skin and all of its children are deleted. If not set to "true" then the API call reports on which skins would be deleted but does not actually delete any skins.
targetskin
The name of the skin to delete.

Example URL

http://<host>:<port>/<context>/web/dev.xql?action=delete_skin&delete=<value>&targetskin=<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.