Authorizations
Body
application/json
Response
Successful response
curl --request POST \
--url https://zeropath.com/api/v1/scans/upsert-schedule \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repositoryId": "<string>",
"executionCriteriaCrontab": "<string>",
"timezone": "UTC",
"isEnabled": true
}'
{
"ok": true
}
curl --request POST \
--url https://zeropath.com/api/v1/scans/upsert-schedule \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repositoryId": "<string>",
"executionCriteriaCrontab": "<string>",
"timezone": "UTC",
"isEnabled": true
}'
{
"ok": true
}
Successful response