Add a User to the Default LDAP Server
post
/api/v1/configuration/ldapConfig/defaultLdap/ldapUser
Add a user to the default OpenLDAP server and assign one or more global roles. The groups array must contain at least one supported role identifier.
Request
Supported Media Types
- application/json
Header Parameters
-
Authorization(required): string
Bearer access token. Supply as: Bearer
.
Root Schema : schema
Type:
Show Source
object-
groups(required):
array groups
Minimum Number of Items:
1Global roles to assign to the new OpenLDAP user. -
ldapUserName(required):
string
LDAP UserName
-
ldapUserPassword(required):
string(password)
LDAP User Password
Nested Schema : groups
Type:
arrayMinimum Number of Items:
1Global roles to assign to the new OpenLDAP user.
Show Source
-
Array of:
string
Allowed Values:
[ "bpmAdmin", "instanceAdmin", "instanceOperator", "instanceApiClient", "walletSuperAdmin", "walletOrgAdmin", "walletOrgUser", "daSuperAdmin", "daTokenAdmin", "daDeployer", "daApprover" ]
Response
Supported Media Types
- application/json
200 Response
OK
400 Response
Bad Request
Root Schema : Error
Type:
objectError Information.
Show Source
-
errors:
array errors
list of errors
-
message(required):
string
A human-readable error string.
-
status(required):
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings:
array warnings
list of warnings
401 Response
Unauthorized
Root Schema : AuthError
Type:
objectAuthentication or authorization error returned by request filters.
Show Source
-
code(required):
string
Allowed Values:
[ "UNAUTHENTICATED", "FORBIDDEN", "NOT_FOUND" ] -
message(required):
string
403 Response
Forbidden. The authenticated caller lacks a required global role, instance-access-group membership, or a valid CSRF token.
Root Schema : AuthError
Type:
objectAuthentication or authorization error returned by request filters.
Show Source
-
code(required):
string
Allowed Values:
[ "UNAUTHENTICATED", "FORBIDDEN", "NOT_FOUND" ] -
message(required):
string
409 Response
Operation conflict
Root Schema : Error
Type:
objectError Information.
Show Source
-
errors:
array errors
list of errors
-
message(required):
string
A human-readable error string.
-
status(required):
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings:
array warnings
list of warnings
500 Response
Internal Server Error
Root Schema : Error
Type:
objectError Information.
Show Source
-
errors:
array errors
list of errors
-
message(required):
string
A human-readable error string.
-
status(required):
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings:
array warnings
list of warnings