Modify a Replication Server by DN
patch
/rest/v1/admin/{dn}
Modify a Replication Server by DN
Request
Supported Media Types
- application/json
Path Parameters
-
dn: string
LDAP DN of the entry to be modified
Replication Server that needs to be modified
Root Schema : PatchRequest
Type:
Show Source
object-
controls(optional):
array controls
LDAP controls to be sent to server for LDAP modify operation.
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyRequestThe REST message type -
operations:
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:
string
The entry attribute to be modified.
-
opType:
string
Allowed Values:
[ "add", "delete", "replace", "increment" ]The type of the Patch Operation. -
values(optional):
array values
The attribute values to be updated.
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Replication Server PatchSuccessResponse
Type:
Show Source
object-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyResponseThe REST message type -
searchResultEntries:
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults:
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 : Replication Server SearchResultEntry
Type:
Show Source
object-
attributes:
object Replication Server Properties
-
dn:
string
LDAP DN of the entry to be created
Nested Schema : Replication Server Properties
Type:
Show Source
object-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-assured-timeout(optional):
string
Default Value:
1000msThe timeout value when waiting for assured mode acknowledgments. -
ds-cfg-degraded-status-threshold(optional):
integer(int32)
Default Value:
5000The number of pending changes as threshold value for putting a directory server in degraded status. -
ds-cfg-disk-full-replication-purge-delay(optional):
string
Default Value:
18000sThe time (in seconds) after which the Replication Server erases all persistent information when the disk space falls below the value specified disk-low-threshold. -
ds-cfg-disk-full-threshold(optional):
string
Default Value:
20 megabytesFull disk threshold to stop the replication server -
ds-cfg-disk-low-threshold(optional):
string
Default Value:
100 megabytesLow disk threshold to start purging all persistent information -
ds-cfg-group-id(optional):
integer(int32)
Default Value:
1The group id for the replication server. -
ds-cfg-heartbeat-interval(optional):
string
Default Value:
10000msThe maximum period of time that the connection to a peer RS will be considered active. -
ds-cfg-monitoring-period(optional):
string
Default Value:
3000msThe period between sending of monitoring messages. -
ds-cfg-queue-size(optional):
integer(int32)
Default Value:
10000Specifies the number of changes that are kept in memory for each Directory Server in the Replication Domain. -
ds-cfg-replication-db-directory(optional):
string
Read Only:
trueDefault Value:changelogDbThe path where the Replication Server stores all persistent information. -
ds-cfg-replication-port:
integer(int32)
The port on which this Replication Server waits for connections from other Replication Servers or Directory Servers.
-
ds-cfg-replication-purge-delay(optional):
string
Default Value:
360000sThe time (in seconds) after which the Replication Server erases all persistent information. -
ds-cfg-replication-server(optional):
array ds-cfg-replication-server
Specifies the addresses of other Replication Servers to which this Replication Server tries to connect at startup time.
-
ds-cfg-replication-server-id(optional):
integer(int32)
Read Only:
trueSpecifies a unique identifier for the Replication Server. -
ds-cfg-weight(optional):
integer(int32)
Default Value:
1The weight of the replication server. -
ds-cfg-window-size(optional):
integer(int32)
Default Value:
100Specifies the window size that the Replication Server uses when communicating with other Replication Servers. -
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-replication-server
Type:
arraySpecifies the addresses of other Replication Servers to which this Replication Server tries to connect at startup time.
Show Source
400 Response
ERROR
406 Response
Not Acceptable
Root Schema : ErrorResponse
Type:
Show Source
object-
ldapErrorCode(optional):
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message:
string
Error message returned returned for the operation.
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponseThe REST message type