ApplyLabelTemplate
Apply a label template to a selection of agents with optional dry run support
POST
/api/v1/agent/label-templates/{id}/applyOperation ID
ApplyLabelTemplateSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonPath Parameters
idStringRequiredUUID of the label template to apply
Body Fields
selectorObjectRequiredSelector for this resource
uuidsListUuids for this resource
Example: item1,item2
typeStringFilter agents by type
Example: log
regionStringFilter agents by deployment region
Example: us-east-1
labelMatchLinkedHashMapLabel matching criteria for agent selection
Example: (nested object)
dryRunBooleanRequiredIf true, simulate the operation without persisting changes
Example: false
