Skip to Content
Cron Jobs

Deploy a Cron Job

POST
/cron-jobs/{cron_job_id}/deploy

Path Parameters

cron_job_id*integer

The ID of the cron job.

Range1 <= value

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Request Body

A JSON object containing the resource data

application/json
  1. body
servers?array<integer>

List of valid resource IDs

Response Body

No Content

Example Request
curl -X POST 'https://api.devopness.com/cron-jobs/123/deploy' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty