Agents

Assign or clear an agent's policy

A null or empty policyId clears the assignment.

patch/agents/{id}/policy

Path parameters

idstring required

Request body

expiresAtstring date-time nullable

Response

The agent with its updated policy assignment

policyNamestring

Changes