Skip to content

Trash or restore an article

Articles

A moderator can trash an article.

POST
/articles/{id}/toggleTrashed

Parameters

Path Parameters

id*

ID of the article to interact with

Type
string
Required

Query Parameters

moderatorId*

ID of the moderator trashing or restoring the article

Type
string
Required

Request Body

application/json
JSON
{
  
"trashed": false
}

Responses

Article was trashed

Samples

Gainsight CC Developer Portal