Skip to main content
PUT
/
articles
/
archive
Archive article
curl --request PUT \
  --url https://api.octaviatech.app/cms/articles/archive \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "id": "{{objectId}}"
}
'
{
  "success": true,
  "statusCode": 201,
  "message": "Article archived",
  "data": {
    "id": "{{objectId}}",
    "isPublished": false
  }
}
Archiving an article temporarily removes it from public access without deleting its data. Archived articles can be restored at any time, allowing you to republish or edit them later as needed.

Authorizations

x-api-key
string
header
required

Body

application/json
id
string
required
Example:

"{{objectId}}"

Response

Archived