Register a new user via shared-secret registration
register_userCreate a new local user on a Dendrite homeserver using shared-secret registration. Requires DENDRITE_REGISTRATION_SHARED_SECRET; optionally grants admin rights.
Instructions
Create a new local account using Dendrite's shared-secret registration flow (registration_shared_secret in dendrite.yaml). Requires DENDRITE_REGISTRATION_SHARED_SECRET to be configured; does not use the admin bearer token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| admin | No | Grant server admin rights to the new user | |
| password | Yes | ||
| username | Yes | Localpart, e.g. 'alice' for @alice:example.com | |
| displayname | No |