add delete user endpoint
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
12
README.md
12
README.md
@@ -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
|
||||
|
Reference in New Issue
Block a user