POST Moderate users
Global Purge User
This will delete all chat content from this user and will set all the users comments to LOGICALLY DELETED.
This will delete all chat content from this user and will set all the users comments to LOGICALLY DELETED. This means the comments will still be there but the API will return a placeholder instead of the original comment.
URL PARAMETERS
- userid: (required) The application provided userid of the user to ban
POST PARAMETERS
- byuserid: (optional) The userid of the user issuing the purge command.
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.
byUserId string customer-defined required
Request example
{
"byUserId": "<byUserId>"
} 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