discourse/spec/requests/api/schemas/json/user_create_request.json
Dan Ungureanu 39ab14531a
FEATURE: API to create user's associated account (#15737)
Discourse users and associated accounts are created or updated when a
user logins or connects the account using their account preferences.
This new API can be used to create associated accounts and users too,
if necessary.
2022-03-03 18:17:02 +02:00

36 lines
523 B
JSON

{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"password": {
"type": "string"
},
"username": {
"type": "string"
},
"active": {
"type": "boolean"
},
"approved": {
"type": "boolean"
},
"user_fields[1]": {
"type": "boolean"
},
"external_ids": {
"type": "object"
}
},
"required": [
"name",
"email",
"password",
"username"
]
}