diff options
Diffstat (limited to 'apps/user_ldap/openapi.json')
-rw-r--r-- | apps/user_ldap/openapi.json | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/apps/user_ldap/openapi.json b/apps/user_ldap/openapi.json index 61fcfea3e6b..0881d2e7d51 100644 --- a/apps/user_ldap/openapi.json +++ b/apps/user_ldap/openapi.json @@ -133,23 +133,6 @@ "basic_auth": [] } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "showPassword": { - "type": "boolean", - "default": false, - "description": "Whether to show the password" - } - } - } - } - } - }, "parameters": [ { "name": "configID", @@ -161,6 +144,19 @@ } }, { + "name": "showPassword", + "in": "query", + "description": "Whether to show the password", + "schema": { + "type": "integer", + "default": 0, + "enum": [ + 0, + 1 + ] + } + }, + { "name": "OCS-APIRequest", "in": "header", "description": "Required to be true for the API request to pass", |