How to update Prisma Cloud Compute License using API?
1254
Created On 03/10/23 14:36 PM - Last Modified 07/13/23 08:03 AM
Objective
- How to update Prisma Cloud Compute License using API?
Environment
- Prisma Cloud Compute Edition (Self-Hosted)
- API
Procedure
The following API command will help update the Prisma Cloud Compute Self-Hosted License
curl -vvk 'https://URL of Prisma Cloud Console/api/v1/settings/license' -X POST -u 'USERNAME:PASSWORD' --data-raw '{"key":"NEW LICENSE KEY"}'
Note : The Username and Password used here are the same Credentials used for Prisma Cloud loginAdditional Information
Example
- In the following example, 10.129.160.39 is the IP of Self-Hosted Console
- The screenshot gives a sample command used to update the Prisma Cloud Compute License using API