Schedules

Create

Creates a new scan schedule or updates an existing one

post/api/v1/schedules/upsert-schedule

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

idstring

Schedule ID (only for updates)

organizationIdstring required

Organization to create/update schedule for

crontabstring required

Crontab expression defining when scans should run

timezonestring

Timezone for the schedule

repositoryIdsstring[] required

IDs of repositories to scan on schedule

Response

Schedule created or updated successfully

idstring required

ID of the created/updated schedule

Changes

No recorded changes to this operation across all 1 revision of this API.