Modify a Global Index by DN
patch
/rest/v1/admin/{dn}
Modify a Global Index by DN
Request
Supported Media Types
- application/json
Path Parameters
-
dn: string
LDAP DN of the entry to be modified
Global Index 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 : Global Index 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 : Global Index SearchResultEntry
Type:
Show Source
object-
attributes:
object Global Index Properties
-
dn:
string
LDAP DN of the entry to be created
Nested Schema : Global Index Properties
Type:
Show Source
object-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-db-checkpointer-bytes-interval(optional):
string
Default Value:
20mbSpecifies the maximum number of bytes that may be written to the database before it is forced to perform a checkpoint. -
ds-cfg-db-checkpointer-wakeup-interval(optional):
string
Default Value:
30sSpecifies the maximum length of time that may pass between checkpoints. -
ds-cfg-db-cleaner-min-utilization(optional):
integer(int32)
Default Value:
50Specifies the minimum percentage of "live" data that the database cleaner attempts to keep in database log files. -
ds-cfg-db-directory:
string
Default Value:
catalogsSpecifies the path to the filesystem directory that is used to hold the Berkeley DB Java Edition database files containing the data for this Global Index. -
ds-cfg-db-directory-permissions(optional):
string
Default Value:
700Specifies the permissions that should be applied to the directory containing the Global Index database files. -
ds-cfg-db-log-file-max(optional):
string
Default Value:
10mbSpecifies the maximum size for a database log file. -
ds-cfg-db-num-cleaner-threads(optional):
integer(int32)
Specifies the number of threads that the backend should maintain to keep the database log files at or near the desired utilization.
-
ds-cfg-db-num-lock-tables(optional):
integer(int32)
Specifies the number of lock tables that are used by the underlying database.
-
ds-cfg-db-txn-no-sync(optional):
boolean
Default Value:
falseIndicates whether database writes should be primarily written to an internal buffer but not immediately written to disk. -
ds-cfg-db-txn-write-no-sync(optional):
boolean
Default Value:
trueIndicates whether the database should synchronously flush data as it is written to disk. -
ds-cfg-deleted-entry-retention-timeout(optional):
string
Default Value:
500msSpecifies how long a deleted entry is kept in the system. -
ds-cfg-global-index-attribute(optional):
string
Read Only:
trueSpecifies the attribute to index. - ds-cfg-global-index-catalogs-shared-cache(optional): string
-
ds-cfg-je-property(optional):
array ds-cfg-je-property
Specifies the database and environment properties for the Berkeley DB Java Edition database serving the data for this backend.
-
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-je-property
Type:
arraySpecifies the database and environment properties for the Berkeley DB Java Edition database serving the data for this backend.
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