For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Scout DocsAccess Scout
API & SDK
API & SDK
  • Endpoints
      • GETList all triggers
      • POSTCreate a new trigger
      • PUTUpdate an existing trigger
      • DELDelete a trigger
      • POSTHandle Slack Events
      • POSTHandle Telegram Webhook
      • POSTHandle crons
      • POSTUpdate cron job authentication headers
LogoLogo
Scout DocsAccess Scout
EndpointsTriggers

Update cron job authentication headers

Beta
POST
https://api.scoutos.com/v2/triggers/cron/update-auth-headers
POST
/v2/triggers/cron/update-auth-headers
$curl -X POST https://api.scoutos.com/v2/triggers/cron/update-auth-headers \
> -H "Authorization: Bearer <token>"
1{
2 "total_jobs_found": 5,
3 "jobs_needing_update": 2,
4 "total_jobs_updated": 2,
5 "updated_jobs": [
6 {
7 "job_name": "projects/project-abc/locations/us-central1/jobs/trigger-org-12345-daily-sync",
8 "old_auth_header": "Bearer old-token-xyz",
9 "new_auth_header": "Bearer new-token-abc"
10 },
11 {
12 "job_name": "projects/project-abc/locations/us-central1/jobs/trigger-org-12345-hourly-refresh",
13 "old_auth_header": "Bearer old-token-xyz",
14 "new_auth_header": "Bearer new-token-abc"
15 }
16 ],
17 "errors": []
18}

Update Cloud Scheduler job Authorization headers for organizations. Lists all Cloud Scheduler jobs and updates those matching the trigger pattern.

Args: dry_run: If True, only shows what would be updated without making changes test_org_id: If provided, only processes jobs for this specific organization ID

Only accessible to Scout internal organizations for security.

Was this page helpful?
Previous

List all integrations for the organization

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

dry_runbooleanOptionalDefaults to true
test_org_idstring or nullOptional

Response

Successful Response
total_jobs_foundinteger
jobs_needing_updateinteger
total_jobs_updatedinteger
updated_jobslist of maps from strings to any
errorslist of maps from strings to any

Errors

422
Unprocessable Entity Error