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
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
name | type | required | default | description | limits |
---|---|---|---|---|---|
cron_job_group_name | string | required | New cron job group name. | Maximum 100 chars |