Skip to main content
PATCH
/
policies
/
agent
/
{agentId}
/
toggle
Toggle a single policy field on an agent's effective policy
curl --request PATCH \
  --url https://api.getovra.com/policies/agent/{agentId}/toggle \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "field": "<string>",
  "value": true
}
'
{
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.getovra.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key (sk_sandbox_* / sk_test_* / sk_live_*) or Agent token (at_* / at_dlg_*)

Path Parameters

agentId
string
required

Body

application/json
field
string
required
value
required

Response

Toggle applied