Skip to content

Add a Cron Job Group

Add a cron job group.

Method

POST

Endpoint

https://api.easycron.com/v1/cron-job-groups

Example API call

Terminal window
curl \
--include \
--request POST \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <API_KEY>' \
--data '{"cron_job_group_name": "cronJobGroupName"}' \
"https://api.easycron.com/v1/cron-job-groups"

Example Success Response

Together with the HTTP code 201, the following content will be responded:

{"cron_job_group_id":CRON_JOB_GROUP_ID}

Example Failure Response

Together with the HTTP code of the error, the following error message will be responded:

{"message":"ERROR_MESSAGE"}

JSON Parameters in Request Body

nametyperequireddefaultdescriptionlimits
cron_job_group_namestringrequiredCron job group name.Maximum 100 chars