Move articles to trash

POST {{baseUrl}}/api/v1/articles/moveToTrash

This API moves articles to the Recycle Bin

OAuth Scope

  • Desk.articles.DELETE

Attributes

Attribute NameData TypeDescription
ids (required)<list>
Array of Entity id to be deleted

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;success&quot;:&quot;true&quot;,&quot;id&quot;:&quot;2345678987654323&quot;,&quot;errors&quot;:null},{&quot;success&quot;:&quot;false&quot;,&quot;id&quot;:&quot;3456789087654567&quot;,&quot;errors&quot;:{&quot;errorCode&quot;:&quot;FORBIDDEN&quot;,&quot;httpCode&quot;:&quot;403&quot;}}]}