Sign in

Replace event hook

documented

Replaces an event hook.

PUT /api/v1/eventHooks/{eventHookId}Event Hooksno 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://{{OKTA_DOMAIN}}/api/v1/eventHooks/{{$eventHookId}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name":"{{$name}}","description":"{{$description}}","events":{"type":"EVENT_TYPE","items":["{{$eventType}}"],"filter":null},"channel":{"type":"HTTP","version":"1.0.0","config":{"uri":"{{$uri}}","headers":[],"method":"POST","authScheme":{"type":"HEADER","key":"authorization"}}}}'
Replace event hook · Okta · OpenIntegrations