Modify a Objectclass Mapping by DN
patch
/rest/v1/admin/{dn}
Modify a Objectclass Mapping by DN
Request
Supported Media Types
- application/json
Path Parameters
-
dn(required): string
LDAP DN of the entry to be modified
Objectclass Mapping 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:ModifyRequest
The REST message type -
operations(required):
array operations
Modifications (Patch operations) to be performed on the entry.
Nested Schema : controls
Type:
array
LDAP controls to be sent to server for LDAP modify operation.
Show Source
-
Array of:
string
Nested Schema : operations
Type:
array
Modifications (Patch operations) to be performed on the entry.
Show Source
-
Array of:
object PatchOperation
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 : Objectclass Mapping PatchSuccessResponse
Type:
Show Source
object
-
msgType(required):
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ModifyResponse
The 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:
array
Number of search result entries returned after the LDAP operation.
Show Source
-
Array of:
object Objectclass Mapping SearchResultEntry
Nested Schema : Objectclass Mapping SearchResultEntry
Type:
Show Source
object
-
attributes(required):
object Objectclass Mapping Properties
-
dn(required):
string
LDAP DN of the entry to be created
Nested Schema : Objectclass Mapping Properties
Type:
Show Source
object
-
cn:
string
CN (common name) of the entry
-
ds-cfg-objectclass-name(required):
string
The LDAP Objectclass name for entries generated by this Objectclass Mapping. If the objectclass is not defined in the server schema, then it is added automatically to the server schema during server startup. If it already exists then it is not added. The attributes that MUST/MAY exist for defining an entry of a particular objectclass as per the schema are not relevant as the user has to explicitly define the attributes required by the entries through the Attribute Mappings managed object.
-
ds-cfg-rdn-attribute(required):
string
This property defines the sequence of RDN attributes required to construct the DN of the entries belonging to this Objectclass Mapping. The sequence of attributes is specified as a comma separated list. Example Values: 1) cn 2) cn,o 3) uid+cn+sn,o The DN of the entries is constructed by populating the values of the attributes in the RDN attribute and concatenating it to the suffix DN for the RDBMS Workflow Element to which the Objectclass Mapping belongs.
-
objectclass(required):
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : objectclass
Type:
array
Objectclass(es) which this entry belongs to.
Show Source
-
Array of:
string
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:ErrorResponse
The REST message type