Skip to content

Trash or restore an idea

Ideas

POST
/ideas/{id}/toggleTrashed

Parameters

Path Parameters

id*

ID of the idea to interact with

Type
string
Required

Query Parameters

moderatorId*

ID of the moderator trashing/restoring the idea

Type
string
Required

Request Body

application/json
JSON
{
  
"trashed": false
}

Responses

Idea trashed state updated

Samples

Gainsight CC Developer Portal