---
title: "Undo journal run (verwijderen journaalrun)"
method: POST
path: "/v2/providers/employers/payrolladministrations/journalruns/{journalrunId}/undo"
tags: ["Journal run"]
---

# Undo journal run (verwijderen journaalrun)

`POST /v2/providers/employers/payrolladministrations/journalruns/{journalrunId}/undo`

__Activity name :__ <a href="https://developer.loket.nl/Activities/PostUndoJournalRunByJournalRunId" target="_blank">PostUndoJournalRunByJournalRunId</a><br><br>This is a controller endpoint to perform an action.<br><br>In the older Loket GUI this specific action is referred to as 'Verwijderen journalrun' If this action is performed successfully then the journalrun will be 'deleted' in the sense that its results will be undone.<br><br>Please note that removing a journalrun does not remove any data in other applications.<br><br>__Metadata :__  Possible options for fields of the type 'metadata' can be acquired (GET) by adding `/metadata` to the POST URL.<br><br>__Defaults :__ Defaults GET endpoint is available for this controller endpoint at the path `.../payrolladministrations/{payrollAdministrationId}/journalruns/undo/defaults`.

## Path parameters

- `journalrunId` string, uuid, required

## Headers

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

## Response `202`

Accepted

## 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)
