---
search:
  tags:
    - Posts
    - POST
seo:
  description: >-
    Archive a post by ID. The post is moved to Trash and will be permanently
    deleted… Reference for the POST /posts/{id}/archive endpoint in the Ordinal
    API.
sidebar:
  label: Archive post
  badge: POST
title: Archive post
type: openapi-operation
---
Archive a post by ID. The post is moved to Trash and will be permanently deleted after 30 days. Use the unarchive endpoint to restore it.

`POST /posts/{id}/archive`
