Is This Content Helpful?
We're glad to know this article was helpful.
The following REST requests can be used to automate the assigning and revoking of ArcGIS Pro licenses provisioned to ArcGIS Online. These can be sent using any language that can send HTTP requests, such as Python.
Only organization administrators or users assigned a custom role that includes the Manage Licenses privilege can manage ArcGIS Pro licenses.
When automating this workflow, always include both a valid token in the request as well as specifying the format in which the response should be returned. Additional required parameters are listed in tables below the requests.
The URL Key can be hard-coded, or the URL Key can be determined from a self-call.
http://<URL KEY>.maps.arcgis.com/sharing/rest/content/listings/<LISTING ID>/userEntitlements
http://<URL KEY>.maps.arcgis.com/sharing/rest/content/listings/<LISTING ID>/provisionUserEntitlements