Skip to main content

Module suspend_user

Module suspend_user 

Source
Available on crate features client or server only.
Expand description

PUT /_matrix/client/*/admin/suspend/{userId}

Sets the suspended status of a particular server-local user.

The user calling this endpoint MUST be a server admin. The client SHOULD check that the user is allowed to suspend other users at the GET /capabilities endpoint prior to using this endpoint.

In order to prevent user enumeration, servers MUST ensure that authorization is checked prior to trying to do account lookups.

Modulesยง

v1
/v1/ (spec)