Skip to content

Trash or restore a question

Questions

POST
/questions/{id}/toggleTrashed

Parameters

Path Parameters

id*

ID of the question to interact with

Type
string
Required

Query Parameters

moderatorId*

ID of the moderator trashing/restoring the question

Type
string
Required

Request Body

application/json
JSON
{
  
"trashed": false
}

Responses

Question trashed state updated

Samples

Gainsight CC Developer Portal