Available on crate feature
api and (crate features client-api-c or client-api-s) and (crate features client or server) only.Expand description
PUT /_matrix/client/*/admin/lock/{userId}
Sets the locked 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 lock 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.