# Method: projects.locations.jobs.pause

- [HTTP request](https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs/pause#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs/pause#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs/pause#body.request_body)
- [Response body](https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs/pause#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs/pause#body.aspect)
- [Try it!](https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs/pause#try-it)

Pauses a job.

If a job is paused then the system will stop executing the job until it is re-enabled via `https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs/resume#google.cloud.scheduler.v1.CloudScheduler.ResumeJob`. The state of the job is stored in `https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs#Job.FIELDS.state`; if paused it will be set to `https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs#State.ENUM_VALUES.PAUSED`. A job must be in `https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs#State.ENUM_VALUES.ENABLED` to be paused.

### HTTP request

`POST https://cloudscheduler.googleapis.com/v1/{name=projects/*/locations/*/jobs/*}:pause`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `cloudscheduler.jobs.pause` |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/scheduler/docs/reference/rest/v1/projects.locations.jobs#Job`.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `https://www.googleapis.com/auth/cloud-scheduler`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).