Sync policies for agent

Synchronize policies between agent and server. Only WORKFORCE policy type is returned. For first-time sync, send empty request body or no policies. For subsequent syncs, include policy_id and policy_version for each policy. Server returns updated policies if versions differ. If any requested policy is disabled on the server, the response includes enabled_policies list with all currently enabled WORKFORCE policies.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Policy sync request containing policy IDs and versions from agent. Empty for first-time sync.

policies
array of objects
policies
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json