Skip to main content

Get Prisma Cloud Compute License

GET 

/api/v32.07/settings/license

x-prisma-cloud-target-env: {"permission":"accessUI"}

Returns the details about the installed license.

cURL Request

Refer to the following example cURL request that retrieves the license details.

$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
"https://<CONSOLE>/api/v<VERSION>/settings/license"

Responses

License represent the customer license

Schema
    access_token string

    AccessToken is the customer access token.

    contract_id string

    ContractID is the customer contract ID.

    contract_type shared.LicenseContractType (string)

    Possible values: [,host,avg,burndown]

    LicenseContractType is the license contract type

    credits integer

    Credits the total amount of credits purchased by the customer.

    customer_id string

    CustomerID is the customer ID.

    defender_details object[]

    DefenderDetails represents the defenders license details.

  • Array [
  • category defender.Category (string)

    Possible values: [container,host,serverless,appEmbedded,hostAgentless,containerAgentless]

    Category represents the defender target category

    count integer

    Count is the amount of licensed defenders.

  • ]
  • defenders integer

    Deprecated: Defenders is the maximum number of defender allowed in this license. Use DefenderDetails field instead.

    expiration_date date-time

    ExpirationDate is the license expiration date.

    issue_date date-time

    IssueDate is the license issue date.

    type shared.LicenseTier (string)

    Possible values: [,developer,enterprise,evaluation,oem]

    LicenseTier represents the license tier of the customer

    workloads integer

    Deprecated: Workloads is the number of workloads per license kept for backward compatibility. Use Credits instead.

Loading...