POST Moderate users
Apply a user moderation decision
BODY PROPERTIES approve : required Pass true to approve the comment or false to reject the user.
BODY PROPERTIES
- approve : (required) Pass true to approve the comment or false to reject the user.
Request
Parameters
Values in the path and query string.
appid path string TalkLabs ID required
The TalkLabs application ID assigned to your account.
Example:your-app-id userid path string customer-defined required
The customer defined user ID from your application or identity system.
Example:u-8842 Request
JSON body
Send as application/json.
approve boolean required
Request example
{
"approve": "false"
} Request examples
Common variations
Historical examples filtered through the current request schema.
Reject Message in Queue Copy
{
"approve": "false"
} Approve User in Moderation Queue
This variation uses the endpoint and parameters described above.
Response
Status codes
Every JSON response uses the API result envelope.
200 OK ApiResult 400 Bad Request ApiResult 403 Forbidden ApiResult 500 Internal Server Error ApiResult