---
title: "Change the status of a journal run"
method: PATCH
path: "/v2/providers/employers/payrolladministrations/journalruns/{journalrunId}"
tags: ["Journal run"]
---

# Change the status of a journal run

`PATCH /v2/providers/employers/payrolladministrations/journalruns/{journalrunId}`

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

Update the status of a journal run
* Action 'markAsSuccessfullyExported'; will change the status of the journal run to 'exported'. Please note this action will not perform an actual export, but simply allows the user the manage status to match their actualities.</br>
* Action 'MarkAsProcessingFailed'; will change the status of the journal run to 'export failed'. Please note this action will not perform an actual export, but simply allows the user the manage status to match their actualities.

## Path parameters

- `journalrunId` 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
- `409` — Conflict
- `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)
