curl -X POST 'https://moderationapi.com/api/v1/actions/execute' \ -H 'Authorization: Bearer <token>' \ -H 'Content-Type: application/json' \ -d '{ "contentIds": [ "60c9e1c0e4e7e1001c7a0e1e", "60c9e1c0e4e7e1001c7a0e1f" ], "actionId": "suspend-author", "value": "Spam" }'
{ "success": true }
Execute a moderation action on one or more content items.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Input parameters
Action executed successfully
Execution result
Was this page helpful?