Authorizations
Enter your API key in the format x-api-key <api-key>*
Path Parameters
Scheduled Task ID
Body
application/json
Update request (enabled: true/false to pause/resume)
Update a scheduled task by ID - Only enabled field can be changed (pause/resume)
curl --request PUT \
--url https://api.cloud.flexprice.io/v1/tasks/scheduled/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"enabled": true
}'{
"connection_id": "<string>",
"created_at": "<string>",
"enabled": true,
"entity_type": "events",
"environment_id": "<string>",
"id": "<string>",
"interval": "custom",
"job_config": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"key_prefix": "<string>",
"region": "<string>"
},
"status": "<string>",
"tenant_id": "<string>",
"updated_at": "<string>"
}Enter your API key in the format x-api-key <api-key>*
Scheduled Task ID
Update request (enabled: true/false to pause/resume)
curl --request PUT \
--url https://api.cloud.flexprice.io/v1/tasks/scheduled/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"enabled": true
}'{
"connection_id": "<string>",
"created_at": "<string>",
"enabled": true,
"entity_type": "events",
"environment_id": "<string>",
"id": "<string>",
"interval": "custom",
"job_config": {
"bucket": "<string>",
"compression": "none",
"encryption": "AES256",
"key_prefix": "<string>",
"region": "<string>"
},
"status": "<string>",
"tenant_id": "<string>",
"updated_at": "<string>"
}