Skip to main content

Delete bundle


Deletes a bundle.

The role that performs this operation must have the CapCodeWriter capability. See Access control for more information about how capabilities are used to control access to operations.


Path parameters

  • bundle - string required*

    The name of a bundle.

Query parameters

  • options - array of strings

    Options for the operation. Options include:

    • force – delete the bundle if there is an unused data type referencing it. An unused data type is one that is not used in any object schema. When the bundle is deleted, the data type referencing it is also deleted.
    Each string:

Possible responses

The request is successful.

Try the API


Path parameters

Query parameters

Navigate to the docs of your local Vault installation to try the API directly from there.

Code examples