Mute User by User ID
POST
/2/users/{id}/mutingCauses the user (in the path) to mute the target user. The user (in the path) must match the user context authorizing the request
Request
Path Params
id
string
required
The ID of the user that is requesting to mute the target user
Body Params application/json
target_user_id
string
required
Match pattern:
^[0-9]{1,19}$
Example
{
"target_user_id": "string"
}
Request samples
Responses
The request was successful(200)
500(500)
The request was successful
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 2 years ago