Bug
| Bug-ID-Nummer | BUG-000165814 |
|---|---|
| Eingereicht | March 8, 2024 |
| Zuletzt geändert | February 10, 2025 |
| Gilt für | ArcGIS API for Python |
| Gefunden in Version | 2.2.0 |
| Betriebssystem | N/A |
| Betriebssystemversion | N/A |
| Status | In Review |
If the secondary license is expired or not in used by any users, reach out to Esri Support to request removing the license from the organization. If both licenses are needed/in use, modify the script to get and revoke multiple licenses that have the same name using a for loop.
Below is a sample code:
org_licenses=gis.admin.license.all()
D2M_licenses=[]
for l in org_licenses:
if "Drone" in l.properties.listing['title']:
D2M_licenses.append(l)
for license in D2M_licenses:
license.revoke(username="USERNAME", entitlements="*")
Bug-ID: BUG-000165814
Software:
Unterstützung durch ArcGIS-Experten anfordern
Esri Support App herunterladen