discourse/spec/requests/api/schemas/json/user_create_request.json

37 lines
622 B
JSON

{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"password": {
"type": "string"
},
"username": {
"type": "string"
},
"active": {
"type": "boolean",
"description": "This param requires an api key in the request header or it will be ignored"
},
"approved": {
"type": "boolean"
},
"user_fields[1]": {
"type": "boolean"
},
"external_ids": {
"type": "object"
}
},
"required": [
"name",
"email",
"password",
"username"
]
}