Skip to content

Open/Close an article

Articles

A moderator can open or close an article for replies.

POST
/articles/{id}/toggleClosed

Parameters

Path Parameters

id*

ID of the article to interact with

Type
string
Required

Query Parameters

moderatorId*

ID of the moderator toggling the closed state of the article

Type
string
Required

Request Body

application/json
JSON
{
  
"closed": false
}

Responses

Article closed state was updated

Samples

Gainsight CC Developer Portal