Skip to main content

Get license

get
/api/pvlt/1.0/system/info/license

Gets information on the currently used license.

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

Request

Query parameters

  • custom_audit - string

    Custom audit information to be included in the audit log.

Possible responses

The request is successful.

object required*
  • key - string required*

    The full license activation key.

  • expiration - string required*

    The expiration date of the token in an RFC3339Nano format.

Example
{
"key": "string",
"expiration": "2022-07-05T08:47:12.041234Z"
}

Try the API

Authorization

Query parameters

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

Code examples

Example