Deletes multiple articles
  • 16 Mar 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Deletes multiple articles

  • Dark
    Light

Delete
/v2/Articles/bulkdelete
Security
API Key
Header parameter nameapi_token
Enter REST API key. To generate a key, go to Settings → Knowledge base portal → API tokens
Query parameters
articleIds
array of string Required

Array of article IDs

Responses
200

Success

Successfully deleted bulk article

This states that the bulk article has been deleted successfully.

{
  "data": [
    {
      "article_id": null,
      "success": true,
      "details": "Successfully deleted article with an id 4b10a0b0-7300-4f0d-b2cd-47c619af4047"
    }
  ],
  "extension_data": null,
  "success": true,
  "errors": [],
  "warnings": [],
  "information": []
}
Expand All
object
data
Array of object

Bulk delete article response

object
article_id
string

Article Id that has updated

success
boolean

Indicates if articles creation was successful

details
string

Additional information about articles creation status

extension_data
object
success
boolean

Status indication for customer Api response

errors
Array of object

Errors in the customer Api response

object
extension_data
stack_trace
string

Stack trace for error response message

description
string

Description for error cause

error_code
string

Error code for Api resonse

custom_data
object
warnings
Array of object

Warning in the customer Api response

object
extension_data
description
string

Warning description

warning_code
string

warning code for customer Api base response

information
Array of object

Information passed by the customer Api response

object
extension_data
description
string

status description for customer Api response information

400

Bad Request

Article Id not found

Kindly verify the article Id and perform the task again.

{
  "data": [
    {
      "article_id": null,
      "success": false,
      "details": "Failed to delete article with an id 4b10a0b0-7300-4f0d-b2cd-47c619af4047\r\nError: Article not found"
    }
  ],
  "extension_data": null,
  "success": true,
  "errors": [],
  "warnings": [],
  "information": []
}
Expand All
object
data
Array of object

Bulk delete article response

object
article_id
string

Article Id that has updated

success
boolean

Indicates if articles creation was successful

details
string

Additional information about articles creation status

extension_data
object
success
boolean

Status indication for customer Api response

errors
Array of object

Errors in the customer Api response

object
extension_data
stack_trace
string

Stack trace for error response message

description
string

Description for error cause

error_code
string

Error code for Api resonse

custom_data
object
warnings
Array of object

Warning in the customer Api response

object
extension_data
description
string

Warning description

warning_code
string

warning code for customer Api base response

information
Array of object

Information passed by the customer Api response

object
extension_data
description
string

status description for customer Api response information


Was this article helpful?