Product Documentation

Use API to delete custom StyleBooks

May 24, 2018

You can delete the custom StyleBook by providing the following StyleBooks REST API:

DELETE https://<MAS_IP>/stylebook/nitro/v1/config/stylebooks/<NAMESPACE>/<VERSION>/<NAME>?dependencies=true

If the dependencies query parameter in the URL is not provided or its value is set to false, then the StyleBook dependencies are not deleted (only the StyleBook itself is deleted).

When you receive an HTTP response status code of 200, that means the custom StyleBook (and its dependencies) is successfully removed from NetScaler MA Service.

Note: You cannot delete a custom StyleBook that has other StyleBooks in MAS that depend on it.