From b6e62fe9dbb0362b04e1a5ac1f1351c4db27ff8f Mon Sep 17 00:00:00 2001
From: richvdh user_id
.
user_id
.
To use it, you will need to authenticate by providing an access_token
for a
server admin: Admin API
Returns HTTP status code:
+201
- When a new user object was created.200
- When a user was modified.URL parameters:
user_id
: fully-qualified user id: for example, @user:server.com
.Body parameters:
password
, optional. If provided, the user's password is updated and all
-devices are logged out.
displayname
, optional, defaults to the value of user_id
.
threepids
, optional, allows setting the third-party IDs (email, msisdn)
-belonging to a user.
avatar_url
, optional, must be a
-MXC URI.
password
- string, optional. If provided, the user's password is updated and all
+devices are logged out.displayname
- string, optional, defaults to the value of user_id
.threepids
- array, optional, allows setting the third-party IDs (email, msisdn)
+medium
- string. Kind of third-party ID, either email
or msisdn
.address
- string. Value of third-party ID.
+belonging to a user.admin
, optional, defaults to false
.
external_ids
- array, optional. Allow setting the identifier of the external identity
+provider for SSO (Single sign-on). Details in
+Sample Configuration File
+section sso
and oidc_providers
.
+auth_provider
- string. ID of the external identity provider. Value of idp_id
+in homeserver configuration.external_id
- string, user ID in the external identity provider.deactivated
, optional. If unspecified, deactivation state will be left
+
avatar_url
- string, optional, must be a
+MXC URI.admin
- bool, optional, defaults to false
.deactivated
- bool, optional. If unspecified, deactivation state will be left
unchanged on existing accounts and set to false
for new accounts.
A user cannot be erased by deactivating with this API. For details on
-deactivating users see Deactivate Account.
-If the user already exists then optional parameters default to the current value.
In order to re-activate an account deactivated
must be set to false
. If
--
cgit 1.5.1