Skip to content

Commit

Permalink
Merge branch 'main' of github.com:sctg-development/sctgdesk-api-server
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio committed Sep 7, 2024
2 parents 616d51e + de03d13 commit c93f5ac
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.html

Large diffs are not rendered by default.

54 changes: 53 additions & 1 deletion docs/openapi3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.0",
"info": {
"title": "sctgdesk-api-server",
"version": "0.1.0"
"version": "1.1.99-42"
},
"paths": {
"/{_path}": {
Expand Down Expand Up @@ -782,6 +782,44 @@
"authorization_admin": []
}
]
},
"delete": {
"tags": [
"user"
],
"summary": "Delete user",
"description": "This function is an API endpoint that deletes a user.\n\n## Parameters\n\n- `request`: A JSON object containing the list of users to delete.\n\n## Returns\n\nIf successful, this function returns a `Json<UsersResponse>` object containing the number of users deleted.",
"operationId": "user_delete",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DeleteUserRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UsersResponse"
}
}
}
},
"401": {
"description": ""
}
},
"security": [
{
"authorization_admin": []
}
]
}
},
"/api/enable-users": {
Expand Down Expand Up @@ -2553,6 +2591,20 @@
}
}
},
"DeleteUserRequest": {
"type": "object",
"required": [
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"EnableUserRequest": {
"type": "object",
"required": [
Expand Down

0 comments on commit c93f5ac

Please sign in to comment.