delete
Delete a standard so that it is no longer supported by the Legacy Content Delivery application.
Description
The configuration data in the eXist db which relate to the specified standard are deleted. Note that, if there are existing publications in the db which use this standard, then the standard cannot be deleted.
Parameters
- action
- delete
- name
- Name of the standard to be deleted.
Example URL
http://<host>:<port>/<context>/web/standards.xql?action=delete&name=<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 "Manage application" permission, and the function will throw a permission exception if the permission is not available.