Add Prisma Cloud Compute License
POST/api/v31.02/settings/license
x-prisma-cloud-target-env: {"permission":"privilegedOperations","saas":false,"self-hosted":true}
x-public: true
Configures the Prisma Cloud Compute license.
Use this endpoint, along with /api/v1/signup
, as part of the initial set up flow after Prisma Cloud Compute is first installed.
For more information, see Licensing.
cURL Request
Refer to the following example cURL request that uses basic auth to set your license:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X POST \
-d '{"key": "<LICENSE_KEY>"}' \
https://<CONSOLE>/api/v<VERSION>/settings/license
Request
Responses
- 200
- default
OK