mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 09:13:43 +08:00
f78ea9926b
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.
37 lines
622 B
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"
|
|
]
|
|
}
|