Skip to content

Update a Cron Job Group

Update a cron job group.

Method

PATCH

Endpoint

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

Example API call

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

Example Success Response

Together with the HTTP code 200, 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_namestringrequiredNew cron job group name.Maximum 100 chars