Update the Default LDAP Configuration by ID
put
/api/v1/configuration/ldapConfig/{id}
Update the only supported LDAP configuration `DEFAULT-LDAP-ID-001` before any identity provider is active. Certificate upload or replacement is not accepted; an existing stored certificate is preserved. After activation, update returns a 400.
Request
Supported Media Types
- multipart/form-data
Path Parameters
-
id(required): string
Identifier of the only supported LDAP configuration.Allowed Values:
[ "DEFAULT-LDAP-ID-001" ]
Header Parameters
-
Authorization(required): string
Bearer access token. Supply as: Bearer
.
Form Parameters
-
payload(required): string
JSON string containing the LDAP configuration fields used by the test operation.Default Value:
{"ldapName":"string","ldapType":"string","ldapHost":"string","ldapPort":389,"ldapTLSEnabled":true,"ldapBaseDN":"string","ldapBindDN":"string","ldapBindPassword":"string","userNameAttribute":"string","userClassName":"string","groupNameAttribute":"string","groupMembershipAttribute":"string","groupClassName":"string"}
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
404 Response
Not Found
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