---
title: "Schedule or unschedule a job"
method: PUT
path: "/v1/jobs/{jobId}/schedule"
tags: ["Jobs"]
---

# Schedule or unschedule a job

`PUT /v1/jobs/{jobId}/schedule`

Updates the schedule of a specific job. The job status must be either new, scheduled or unscheduled to use this endpoint (required scope jobs:write)

## Path parameters

- `jobId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body

- ScheduleJobModel — Represents a model that holds information about scheduling a job. To schedule a job, PlannedStartAt must not be null and at least one of the ids must be populated. To unschedule a job, both ResourceId and VehicleId must be null
  - `resourceId` integer, nullable — The unique identifier of the resource assigned to this job. If the chosen resource is not active for job watch, the request will be rejected with a 422. If null and the chosen vehicle id is fixed to a resource, this will be automatically populated
  - `vehicleId` integer, nullable — The unique identifier of the vehicle assigned to this job. If null and the chosen resource id is fixed to a vehicle, this will be automatically populated
  - `plannedStartAt` string, date-time, nullable — The UTC timestamp of when the job is planned to start

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Content
- `500` — Internal Server Error

---

[API](https://skmtc.net/bigchange/apis/bigchange-dx.md) · [All operations](https://skmtc.net/bigchange/apis/bigchange-dx/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigchange/bigchange-dx/revisions/916e669fc527/schema)
