from uuid import UUID
from model_security_client.api import ModelSecurityAPIClient
client = ModelSecurityAPIClient(
base_url="https://api.sase.paloaltonetworks.com/aims"
)
scan_uuid = UUID("550e8400-e29b-41d4-a716-446655440000")
# Remove specific labels by key
client.delete_scan_labels(
scan_uuid=scan_uuid,
keys=["temporary", "draft", "old-label"]
)
print(f"Labels removed from scan {scan_uuid}")