Server administration
Gets information about the suspended status of a particular user.
Gets information about the suspended status of a particular server-local user.
The user calling this endpoint MUST be a server admin.
In order to prevent user enumeration, servers MUST ensure that authorisation is checked prior to trying to do account lookups.
get/_matrix/client/v1/admin/suspend/{userId}
Request
- Base URLhttps://matrix.org
- Auth
- API key in query parameter access_token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdstring mx-user-id required
The user to look up.
Response
The lookup was successful.
Example response
{
"suspended": true
}Changes
No recorded changes to this operation across all 1 revision of this API.