Silence a user
PUT/admin/users/:id/silence.json
Silence a user
Request
Path Parameters
id integerrequired
- application/json
Body
silenced_till stringrequired
reason stringrequired
message stringrequired
Will send an email with this message when present
post_action stringrequired
Responses
- 200
response
- application/json
- Schema
- Example (from schema)
Schema
silence objectrequired
silenced booleanrequired
silence_reason stringrequired
silenced_till stringrequired
silenced_at stringrequired
silenced_by objectrequired
id integerrequired
username stringrequired
name stringrequired
avatar_template stringrequired
{
"silence": {
"silenced": true,
"silence_reason": "string",
"silenced_till": "string",
"silenced_at": "string",
"silenced_by": {
"id": 0,
"username": "string",
"name": "string",
"avatar_template": "string"
}
}
}
Loading...