Skip to main content

Delete bundle

delete
/api/pvlt/1.0/ctl/bundles/{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.

Request

Path parameters

  • bundle - string required*

    The name of a bundle.

Query parameters

  • custom_audit - string

    Custom audit information to be included in the audit log.

  • 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

Authorization

Path parameters

Query parameters

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

Code examples

Example