summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php2
-rw-r--r--apps/provisioning_api/openapi.json7
2 files changed, 6 insertions, 3 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php
index 4ee87b960f1..95778eff366 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -238,6 +238,8 @@ class UsersController extends AUserData {
* @param ?int $limit Limit the amount of users returned
* @param int $offset Offset
* @return DataResponse<Http::STATUS_OK, array{users: array<string, ProvisioningApiUserDetails|array{id: string}>}, array{}>
+ *
+ * 200: Disabled users details returned
*/
public function getDisabledUsersDetails(?int $limit = null, int $offset = 0): DataResponse {
$currentUser = $this->userSession->getUser();
diff --git a/apps/provisioning_api/openapi.json b/apps/provisioning_api/openapi.json
index 115189e8008..566e907bac1 100644
--- a/apps/provisioning_api/openapi.json
+++ b/apps/provisioning_api/openapi.json
@@ -2067,16 +2067,17 @@
{
"name": "OCS-APIRequest",
"in": "header",
+ "description": "Required to be true for the API request to pass",
"required": true,
"schema": {
- "type": "string",
- "default": "true"
+ "type": "boolean",
+ "default": true
}
}
],
"responses": {
"200": {
- "description": "",
+ "description": "Disabled users details returned",
"content": {
"application/json": {
"schema": {