Skip to main content

Get bundle

get
/api/pvlt/1.0/ctl/bundles/{bundle}

Gets a bundle.

The role that performs this operation must have the CapCodeReader 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.

Possible responses

The request is successful.

required*
All of:
12
  • description - string

    The description of a model.

  • code - string

    A base64 encoded self-contained JavaScript code snippet.

Example
{
"description": "string",
"code": "string",
"name": "bundle"
}

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