Authorizations
Body
application/json
Example:
"{{objectId}}"
Response
Archived
The response is of type any.
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
}
}"{{objectId}}"
Archived
The response is of type any.
Was this page helpful?
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
}
}