discourse/spec/requests/api/schemas/json/user_create_request.json
Blake Erickson f78ea9926b
DEV: Add description for active param on create user api docs (#18753)
The `active` param on the create user endpoint requires that an api key
is used in the request header otherwise it is ignored, so adding this
distinction to the api docs.
2022-10-25 18:24:54 -06:00

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"
]
}