How to update Prisma Cloud Compute License using API?

How to update Prisma Cloud Compute License using API?

1256
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 login


Additional 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
Lab test
 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000kHIKCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail