---
title: "Change status Journals"
method: POST
path: "/journal-entries/{id}/{status}"
tags: ["Journal Entry"]
---

# Change status Journals

`POST /journal-entries/{id}/{status}`

## Request

- Base URL: `https://openapi.flowaccount.com/v1`
- URL: `https://openapi.flowaccount.com/v1/journal-entries/{id}/{status}`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/flowaccount/apis/flowaccount-open-api/docs/journal-entries/:id/:status/post.ts> (a function with typed inputs; its response is checked against the schema)

เปลี่ยนสถานะของสมุดรายวัน

## Path parameters

- `id` integer, required
- `status` string, required

## Headers

- `Authorization` string, required

## Response `200`

ok

- object
  - `data` boolean
  - `status` boolean
  - `message` string
  - `code` number

## Other responses

- `400`: Bad request.
- `401`: Unauthorized

---

[API](https://skmtc.dev/flowaccount/apis/flowaccount-open-api.md) - [All operations](https://skmtc.dev/flowaccount/apis/flowaccount-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowaccount/apis/flowaccount-open-api/revisions/4ba3d3ca5bd5?raw)
