---
title: "Cancel a workflow"
method: PATCH
path: "/v2/providers/employers/workflows/{workflowId}/cancel"
tags: ["Workflows"]
---

# Cancel a workflow

`PATCH /v2/providers/employers/workflows/{workflowId}/cancel`

__Activity name :__  <a href="https://developer.loket.nl/Activities/PatchCancelWorkflowByWorkflowId" target="_blank">PatchCancelWorkflowByWorkflowId</a>

Allows the employee to cancel the workflow. Cancelation is only allowed when no actions have yet been taken for the workflow.

## Path parameters

- `workflowId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/loket-acc/apis/loket-api.md) · [All operations](https://skmtc.net/loket-acc/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket-acc/loket-api/revisions/b32a42be97f7/schema)
