improve adding ldap user
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:
11
README.md
11
README.md
@@ -146,6 +146,17 @@ Body
|
||||
}
|
||||
```
|
||||
|
||||
Add an ldap user
|
||||
|
||||
Body
|
||||
```
|
||||
{
|
||||
"userName": "Ldap User",
|
||||
"groupName": "Users",
|
||||
"ldapUser": true
|
||||
}
|
||||
```
|
||||
|
||||
Registering a user requires specifying the group to which the user will belong. There are 2 built-in groups, with groupName of 'Administrators' or 'Users' and corresponding groupId of 1 and 2 respectively. Available groups can be retrieved via the `/api/admin/groups/list`
|
||||
|
||||
This operation can only be performed by a user that is a member of a group with the admin flag enabled, or a user who has the admin flag enabled individually on their database record.
|
||||
|
Reference in New Issue
Block a user