Check-ins

Replace the project's check-ins

Replaces the project's check-ins with the ones supplied. Each is matched to an existing check-in by slug: a matching check-in is updated, a new slug creates one, and any existing check-in that isn't supplied is deleted. The response lists what happened to each slug.

If any create, update or delete fails, nothing changes, and error.details has an entry for each failed slug (field check_ins.<slug>). A cron entry needs cron on the plan.

put/projects/{project_id}/check_ins/bulk_update

Request

Path parameters

project_idstring required
Example:Xk9mZp

Project ID

Request body

Example request

{
  "check_ins": [
    {
      "name": "Nightly billing job",
      "slug": "nightly-billing",
      "schedule_type": "simple",
      "report_period": "1 day",
      "grace_period": "15 minutes"
    }
  ]
}

Response

Success

Example response

{
  "data": [
    {
      "slug": "nightly-backup"
    }
  ],
  "meta": {
    "request_id": "6f1c2b0e-8d4a-4f6e-9b2a-3c5d7e9f1a2b"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.