add delete user endpoint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-03 15:05:07 +11:00
parent f6602f2823
commit e7b2c86ba7
4 changed files with 80 additions and 4 deletions

View File

@@ -111,6 +111,18 @@ GET `/api/admin/users`
This operation can only be performed by a user with a role that is admin enabled. Lists currently defined users.
#### Remove Users
POST `/api/admin/user/delete`
Data
```
{
"userName": ""
}
```
This operation can only be performed by a user with a role that is admin enabled. Removes user account corresponding to specified userName.
### Secrets Operations
#### Store