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
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.octaviatech.app/llms.txt

Use this file to discover all available pages before exploring further.

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
Pattern: ^[a-fA-F0-9]{24}$
Example:

"{{objectId}}"

Response

Archived