diff --git a/docs/directory-sync/api-reference.md b/docs/directory-sync/api-reference.md index f703e2b1..d96fba30 100644 --- a/docs/directory-sync/api-reference.md +++ b/docs/directory-sync/api-reference.md @@ -657,8 +657,9 @@ You'll ideally want to run the events processing endpoint on a schedule. You can ```bash -curl --request GET \ - --url 'http://localhost:5225/api/scim/cron/process-events?apiKey=your-api-key' \ +curl -X POST \ + -H "Authorization: Api-Key YOUR_API_KEY" \ + http://localhost:5225/api/v1/dsync/cron/process-events ```