---
title: "Archive Post"
method: POST
path: "/api/{account}/posts/{post_id}/archive"
tags: ["Posts"]
---

# Archive Post

`POST /api/{account}/posts/{post_id}/archive`

Archive a post from your account. Also can be used to move posts between the Regular and Private Archive.

## Query parameters

- `private_archive` boolean — Set to `true` to move this post to the Private Archive.

## Response `200`

Success

- object
  - `data` object
    - `labelStates` object[]
      - `id` string
      - `name` string
      - `type` string
      - `isClearInProgress` boolean
      - `postsCount` integer
      - `posts` unknown[]
        - unknown
    - `counters` object
      - `audiosCount` integer
      - `photosCount` integer
      - `videosCount` integer
      - `mediasCount` integer
      - `postsCount` integer
      - `streamsCount` integer
      - `archivedPostsCount` integer
      - `privateArchivedPostsCount` integer
  - `_meta` object
    - `_credits` object
      - `used` integer
      - `balance` integer
      - `note` string
    - `_cache` object
      - `is_cached` boolean
      - `note` string
    - `_rate_limits` object
      - `limit_minute` integer
      - `limit_day` integer
      - `remaining_minute` integer
      - `remaining_day` integer

---

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