UserService
POST /api/users
Changed onCreateUser creates a user. The first user of an instance becomes an admin. Otherwise, unless an admin calls it, the instance must allow user registration and password sign-up, and the new user gets the USER role.
Request
- The document declares no server URL.
- Authnone declared
Query parameters
userIdstring
Optional. The resource ID to use for this user. If set, it must equal user.username and follow the username format. Format: ^a-zA-Z0-9?$
validateOnlyboolean
Optional. If set, validate the request but do not create the user.
requestIdstring
Optional. An idempotency token. Currently ignored.
Request body
Response
OK
Changes
- info
endpoint added
- info