---
title: "Cancel Pay Comparison reports"
method: POST
path: "/v2/pay-comparison/cancel-reports"
tags: ["Pay Comparison"]
---

# Cancel Pay Comparison reports

`POST /v2/pay-comparison/cancel-reports`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/v2/pay-comparison/cancel-reports`
- Auth: API key in header `OAuth`

Cancels one or more reports while they are in the `PENDING` state. Additional results will not be calculated and the Excel spreadsheet will not be created. Reports which can't be found are ignored. Reports which are not `PENDING` are ignored.

## Request body

- PayComparisonCancelReportsRequest
  - `reportIds` string[]

## Response `200`

A successful response.

- PayComparisonGenericReportResponse
  - `success` boolean
  - `error` string

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
