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

Path parameters

userIdstring mx-user-id required

The user to look up.

Response

The lookup was successful.

suspendedboolean required

Whether the target account is suspended.

Example response

{
  "suspended": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.