---
title: "Change post status: PUT /posts/:id/status | Posty dokumentáció"
description: "Poszt átmozgatása piszkozat és ütemezett állapot között."
canonical: https://posty.hu/en/docs/api/endpoints/bejegyzes-allapot
source: https://posty.hu/en/docs/api/endpoints/bejegyzes-allapot.md
---

Posts

# Change post status: PUT /posts/:id/status

Poszt átmozgatása piszkozat és ütemezett állapot között.

## Path

Method and path

PUThttps://api.posty.hu/public/v1/posts/:id/status

Authorization

`posts:publish`

operationId

`changePostStatus`

Moves the post between draft and scheduled status.

## Parameters

| Name | Location | Type | Required | Description |
| --- | --- | --- | --- | --- |
| id | útvonal | string | yes | The post ID. |
| status | törzs | "draft" \| "schedule" | yes | The new status. |

## Request

```
curl -X PUT https://api.posty.hu/public/v1/posts/clp0s7t8u9v0w1x2/status \
  -H "Authorization: psty_a_kulcsod" \
  -H "Content-Type: application/json" \
  -d '{ "status": "schedule" }'
```

Kód másolása

## Important

- This endpoint requires the posts:publish scope, not posts:draft. Moving a post out of draft is scheduling, and a key that can only draft cannot bypass that limit through this route.

## Related

- [Authentication](https://posty.hu/en/docs/api/authentication): API key and scopes.
- [Errors and limits](https://posty.hu/en/docs/api/errors): error responses and rate limits.
- [All endpoints](https://posty.hu/en/docs/api/endpoints): full list.

Documentation pages

Is something missing from this page? Email [norbert@posty.hu](mailto:norbert@posty.hu) or use the form on the [Help](https://posty.hu/en/help) page.
