Modify a LDIF Connection Handler by DN
patch
/rest/v1/admin/{dn}
Modify a LDIF Connection Handler by DN
Request
Supported Media Types
- application/json
Path Parameters
-
dn(required): string
LDAP DN of the entry to be modified
LDIF Connection Handler that needs to be modified
Root Schema : PatchRequest
Type:
Show Source
object-
controls:
array controls
LDAP controls to be sent to server for LDAP modify operation.
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyRequestThe REST message type -
operations(required):
array operations
Modifications (Patch operations) to be performed on the entry.
Nested Schema : controls
Type:
arrayLDAP controls to be sent to server for LDAP modify operation.
Show Source
Nested Schema : operations
Type:
arrayModifications (Patch operations) to be performed on the entry.
Show Source
Nested Schema : PatchOperation
Type:
Show Source
object-
attribute(required):
string
The entry attribute to be modified.
-
opType(required):
string
Allowed Values:
[ "add", "delete", "replace", "increment" ]The type of the Patch Operation. -
values:
array values
The attribute values to be updated.
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : LDIF Connection Handler PatchSuccessResponse
Type:
Show Source
object-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyResponseThe REST message type -
searchResultEntries(required):
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults(required):
integer(int32)
Specifies the number of entries created, and returned.
Nested Schema : searchResultEntries
Type:
arrayNumber of search result entries returned after the LDAP operation.
Show Source
Nested Schema : LDIF Connection Handler SearchResultEntry
Type:
Show Source
object-
attributes(required):
object LDIF Connection Handler Properties
-
dn(required):
string
LDAP DN of the entry to be created
Nested Schema : LDIF Connection Handler Properties
Type:
Show Source
object-
cn:
string
CN (common name) of the entry
-
ds-cfg-allowed-client:
array ds-cfg-allowed-client
Specifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
-
ds-cfg-denied-client:
array ds-cfg-denied-client
Specifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
-
ds-cfg-enabled(required):
boolean
Indicates whether the Connection Handler is enabled.
-
ds-cfg-java-class(required):
string
Default Value:
org.opends.server.protocols.LDIFConnectionHandlerSpecifies the fully-qualified name of the Java class that provides the LDIF Connection Handler implementation. -
ds-cfg-ldif-directory(required):
string
Default Value:
config/auto-process-ldifSpecifies the path to the directory in which the LDIF files should be placed. -
ds-cfg-poll-interval(required):
string
Default Value:
5 secondsSpecifies how frequently the LDIF connection handler should check the LDIF directory to determine whether a new LDIF file has been added. -
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-allowed-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are allowed to establish connections to this Connection Handler.
Show Source
Nested Schema : ds-cfg-denied-client
Type:
arraySpecifies a set of host names or address masks that determine the clients that are not allowed to establish connections to this Connection Handler.
Show Source
400 Response
ERROR
406 Response
Not Acceptable
Root Schema : ErrorResponse
Type:
Show Source
object-
ldapErrorCode:
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message(required):
string
Error message returned returned for the operation.
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponseThe REST message type