Sign in

Update Site Restrictions

documented

Update site restrictions.

PUT /v1/sites/{siteId}/restrictionsSitesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://docsapi.helpscout.net/v1/sites/{{$site_id}}/restricted" \
  -X PUT \
  -u "{{HELPSCOUT_API_KEY}}:X" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"enabled": {{$enabled}}, "authentication": "{{$authentication}}", "callbackConfiguration": {"signInUrl": "{{$signInUrl}}", "sharedSecret": "{{$sharedSecret}}"}}'