Remove Labels
Focus
Focus
Prisma AIRS

Remove Labels

Table of Contents


Remove Labels

Remove specific labels from a scan using their keys. Keys that do not exist on the scan are ignored.

RemoveLabels API

Remove specific labels from a scan using their keys. Keys that do not exist on the scan are ignored.
Using CLI
model-security delete-labels 550e8400-e29b-41d4-a716-446655440000 \ -k temporary \ -k draft \ -k old-label
Using Python SDK
from uuid import UUID 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}")