StyleBook configuration

Use API to delete custom StyleBooks

Use the following StyleBooks REST API to delete a custom StyleBook:

DELETE: https://<ADM-endpoint-name>/stylebook/nitro/v2/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, only the StyleBook is deleted. The StyleBook dependencies are not deleted.

When the custom StyleBook and its dependencies are successfully removed from NetScaler Console, you receive an HTTP response status code of 200.


You can’t delete a custom StyleBook that has dependent StyleBooks.

For example, assume that you created a StyleBook named lb-virtual-ssl-extended in NetScaler Console. You later decided to delete that StyleBook.

You can run the API in any tool such as the cURL command line tool. You can also use the Postman chrome browser extension after modifying the IP address, name, version, and namespace fields.

Use API to delete custom StyleBooks

In this article