deploy: 63cbdd8af0
parent
62f039f844
commit
78a3153e70
|
@ -225,7 +225,8 @@ server admin: <a href="../usage/administration/admin_api">Admin API</a></p>
|
|||
"auth_provider": "<provider2>",
|
||||
"external_id": "<user_id_provider_2>"
|
||||
}
|
||||
]
|
||||
],
|
||||
"user_type": null
|
||||
}
|
||||
</code></pre>
|
||||
<p>URL parameters:</p>
|
||||
|
@ -264,7 +265,8 @@ specific <code>user_id</code>.</p>
|
|||
],
|
||||
"avatar_url": "<avatar_url>",
|
||||
"admin": false,
|
||||
"deactivated": false
|
||||
"deactivated": false,
|
||||
"user_type": null
|
||||
}
|
||||
</code></pre>
|
||||
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a
|
||||
|
@ -307,6 +309,9 @@ in homeserver configuration.</li>
|
|||
unchanged on existing accounts and set to <code>false</code> for new accounts.
|
||||
A user cannot be erased by deactivating with this API. For details on
|
||||
deactivating users see <a href="#deactivate-account">Deactivate Account</a>.</li>
|
||||
<li><code>user_type</code> - string or null, optional. If provided, the user type will be
|
||||
adjusted. If <code>null</code> given, the user type will be cleared. Other
|
||||
allowed options are: <code>bot</code> and <code>support</code>.</li>
|
||||
</ul>
|
||||
<p>If the user already exists then optional parameters default to the current value.</p>
|
||||
<p>In order to re-activate an account <code>deactivated</code> must be set to <code>false</code>. If
|
||||
|
|
|
@ -10525,7 +10525,8 @@ server admin: <a href="admin_api/../usage/administration/admin_api">Admin API</a
|
|||
"auth_provider": "<provider2>",
|
||||
"external_id": "<user_id_provider_2>"
|
||||
}
|
||||
]
|
||||
],
|
||||
"user_type": null
|
||||
}
|
||||
</code></pre>
|
||||
<p>URL parameters:</p>
|
||||
|
@ -10564,7 +10565,8 @@ specific <code>user_id</code>.</p>
|
|||
],
|
||||
"avatar_url": "<avatar_url>",
|
||||
"admin": false,
|
||||
"deactivated": false
|
||||
"deactivated": false,
|
||||
"user_type": null
|
||||
}
|
||||
</code></pre>
|
||||
<p>To use it, you will need to authenticate by providing an <code>access_token</code> for a
|
||||
|
@ -10607,6 +10609,9 @@ in homeserver configuration.</li>
|
|||
unchanged on existing accounts and set to <code>false</code> for new accounts.
|
||||
A user cannot be erased by deactivating with this API. For details on
|
||||
deactivating users see <a href="admin_api/user_admin_api.html#deactivate-account">Deactivate Account</a>.</li>
|
||||
<li><code>user_type</code> - string or null, optional. If provided, the user type will be
|
||||
adjusted. If <code>null</code> given, the user type will be cleared. Other
|
||||
allowed options are: <code>bot</code> and <code>support</code>.</li>
|
||||
</ul>
|
||||
<p>If the user already exists then optional parameters default to the current value.</p>
|
||||
<p>In order to re-activate an account <code>deactivated</code> must be set to <code>false</code>. If
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue