Modify a Entry UUID Virtual Attribute by DN
/rest/v1/admin/{dn}
Modify a Entry UUID Virtual Attribute by DN
Request
- application/json
-
dn: string
LDAP DN of the entry to be modified
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:ModifyRequest
The REST message type -
operations:
array operations
Modifications (Patch operations) to be performed on the entry.
array
-
Array of:
string
array
-
Array of:
object PatchOperation
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
- application/json
200 Response
object
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyResponse
The 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.
array
-
Array of:
object Entry UUID Virtual Attribute SearchResultEntry
object
-
attributes:
object Entry UUID Virtual Attribute Properties
-
dn:
string
LDAP DN of the entry to be created
object
-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-attribute-type:
string
Default Value:
entryUUID
Specifies the attribute type for the attribute whose values are to be dynamically assigned by the virtual attribute. -
ds-cfg-base-dn(optional):
array ds-cfg-base-dn
Specifies the base DNs for the branches containing entries that are eligible to use this virtual attribute.
-
ds-cfg-conflict-behavior(optional):
string
Default Value:
real-overrides-virtual
Allowed Values:[ "merge-real-and-virtual", "real-overrides-virtual", "virtual-overrides-real" ]
Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute. -
ds-cfg-enabled:
boolean
Indicates whether the Virtual Attribute is enabled for use.
-
ds-cfg-filter(optional):
array ds-cfg-filter
Specifies the search filters to be applied against entries to determine if the virtual attribute is to be generated for those entries.
-
ds-cfg-group-dn(optional):
array ds-cfg-group-dn
Specifies the DNs of the groups whose members can be eligible to use this virtual attribute.
-
ds-cfg-java-class:
string
Default Value:
org.opends.server.extensions.EntryUUIDVirtualAttributeProvider
Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values. -
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
array
-
Array of:
string
array
[
"(objectClass=*)"
]
-
Array of:
string
array
-
Array of:
string
array
-
Array of:
string
400 Response
406 Response
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:ErrorResponse
The REST message type