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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
738 B
JSON
Raw Normal View History

{
"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": {
"type": "object",
"additionalProperties": true,
"properties": {
"1": {
"type": "boolean"
}
}
},
"external_ids": {
"type": "object"
}
},
"required": [
"name",
"email",
"password",
"username"
]
}