---
title: "Cancel a running rule job"
method: PUT
path: "/v1/quality/rules/jobs/{jobId}"
tags: ["Quality Rules"]
---

# Cancel a running rule job

`PUT /v1/quality/rules/jobs/{jobId}`

## Request

- Base URL: `https://api.cloud.precisely.com`
- URL: `https://api.cloud.precisely.com/v1/quality/rules/jobs/{jobId}`
- Auth: HTTP bearer

Cancels a running rule job based on the provided jobId. Returns the cancellation status and error details if any.

## Path parameters

- `jobId` string, required

## Request body

- object

## Response `200`

Successfully cancelled the running rule job.

- CancelJobStatus: Represents information of a cancellation job.
  - `comments` string[]
  - `endDate` string, date-time
  - `startDate` string, date-time
  - `status` string
  - `taskId` string

## Other responses

- `400`: Bad request, provided invalid jobId to cancel the running rule job.
- `500`: Internal server error

---

[API](https://skmtc.dev/precisely/apis/verify-api-portal.md) · [All operations](https://skmtc.dev/precisely/apis/verify-api-portal/llms.txt) · [OpenAPI document](https://skmtc.dev/precisely/apis/verify-api-portal/revisions/380735465266?raw)
