Delete article version
  • 02 Feb 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Delete article version

  • Dark
    Light

DELETE /articles/{id}/{langcode}/version/{version_number} 

Delete article version in respective language by a version number


Header

ParameterTypeDescription
api_tokenstringYou can get the REST API from Settings > Advanced > API tokens.

Route Parameters

ParameterRequiredTypeDescription
idYesstringThe ID of the article
version_numberYes
stringThe version number of the article
langCodeYes
stringLanguage code for multilingual (Default value is en)


Response

If 'success' returns true status, then it indicates that the record has been deleted.

{
  "extension_data": null,
  "context": null,
  "success": true,
  "errors": [],
  "warnings": [],
  "information": []
}

Was this article helpful?