mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-14 05:49:07 +08:00
The API docs is incorrect as the `active` param is only permitted when
an admin API key
is used. This has always been the case since
429f27ec96
42 lines
744 B
JSON
42 lines
744 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 admin 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"
|
|
]
|
|
}
|