---
title: "Enable/Disable a database job by its name."
method: PUT
path: "/admin/jobs/{jobType}"
tags: ["admin"]
---

# Enable/Disable a database job by its name.

`PUT /admin/jobs/{jobType}`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/admin/jobs/{jobType}`
- Auth: none declared

Enables or disables a database job by its name.

## Path parameters

- `jobType` 'APPLICATION_LISTS_DATABASE_JOB' | 'REFRESH_REFERENCE_DATA', required: The type of the administrative background job

## Query parameters

- `enable` boolean, required

## Response `200`

Job enabled/disabled successfully.

## Other responses

- `401`: Authentication required or token invalid.
- `403`: Authenticated but not permitted to perform this action.
- `404`: The requested resource was not found.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api.md) - [All operations](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api/revisions/36521cfe1ab7?raw)
