---
title: "Reject workflow for compliance"
method: PUT
path: "/v4/workflows/{workflowId}/compliance-reject"
tags: ["Workflows"]
---

# Reject workflow for compliance

`PUT /v4/workflows/{workflowId}/compliance-reject`

## Request

- Base URL: `https://api.kadoa.com`
- URL: `https://api.kadoa.com/v4/workflows/{workflowId}/compliance-reject`
- Auth: API key in header `x-api-key`

## Path parameters

- `workflowId` string, required

## Headers

- `x-api-key` string
- `Authorization` string

## Request body

- object
  - `reason` string, required: Reason for rejecting the workflow

## Response `200`

Workflow rejected successfully

- object
  - `success` boolean
  - `message` string
  - `workflowId` string
  - `newState` 'COMPLIANCE_REJECTED'
  - `actionBy` string
  - `actionAt` string

## Other responses

- `400`: Bad request - workflow not in compliance review state or missing reason
- `403`: Forbidden - requires COMPLIANCE_OFFICER role (no exceptions for admin/owner)
- `404`: Workflow not found
- `500`: Internal server error

---

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