SparrowDesk
Articles

Archive an article

PATCH
/articles/{id}/archive
AuthorizationBearer <token>

In: header

Path Parameters

idinteger

Article id

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.sparrowdesk.com/v1/articles/0/archive"
{
  "success": true,
  "ids": [
    1001
  ]
}
{
  "error": {
    "message": "Missing required scope or feature is not enabled"
  }
}
{
  "error": {
    "message": "Article not found"
  }
}
{
  "error": {
    "message": "Invalid article id"
  }
}
{
  "error": {
    "message": "An error occurred while archiving the article"
  }
}