Modify a Request Filtering QOS Policy by DN
patch
/rest/v1/admin/{dn}
Modify a Request Filtering QOS Policy by DN
Request
Supported Media Types
- application/json
Path Parameters
-
dn: string
LDAP DN of the entry to be modified
Request Filtering QOS Policy 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:ModifyRequest
The REST message type -
operations:
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
Nested Schema : operations
Type:
array
Modifications (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 : Request Filtering QOS Policy PatchSuccessResponse
Type:
Show Source
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.
Nested Schema : searchResultEntries
Type:
array
Number of search result entries returned after the LDAP operation.
Show Source
Nested Schema : Request Filtering QOS Policy SearchResultEntry
Type:
Show Source
object
-
attributes:
object Request Filtering QOS Policy Properties
-
dn:
string
LDAP DN of the entry to be created
Nested Schema : Request Filtering QOS Policy Properties
Type:
Show Source
object
-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-allowed-attributes(optional):
array ds-cfg-allowed-attributes
Specifies which attributes are allowed in search and compare operations.
-
ds-cfg-allowed-operations(optional):
array ds-cfg-allowed-operations
Specifies which operations are allowed by the server.
-
ds-cfg-allowed-search-scopes(optional):
array ds-cfg-allowed-search-scopes
Specifies which search scopes are allowed by the server.
-
ds-cfg-allowed-subtrees(optional):
array ds-cfg-allowed-subtrees
Specifies which subtrees are accessible to clients.
-
ds-cfg-java-class:
string
Default Value:
org.opends.server.core.networkgroups.RequestFilteringPolicyFactory
Specifies the fully-qualified name of the Java class that provides the Request Filtering QOS Policy implementation. -
ds-cfg-prohibited-attributes(optional):
array ds-cfg-prohibited-attributes
Specifies which attributes are not allowed in search and compare operations.
-
ds-cfg-prohibited-subtrees(optional):
array ds-cfg-prohibited-subtrees
Specifies which subtrees must be hidden from clients. Each prohibited subtree must be subordinate to an allowed subtree.
-
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
Nested Schema : ds-cfg-allowed-attributes
Type:
array
Specifies which attributes are allowed in search and compare operations.
Show Source
Nested Schema : ds-cfg-allowed-operations
Type:
array
Specifies which operations are allowed by the server.
Allowed Values:
Show Source
[
"add",
"bind",
"compare",
"delete",
"extended",
"inequality-search",
"modify",
"rename",
"search"
]
Nested Schema : ds-cfg-allowed-search-scopes
Type:
array
Specifies which search scopes are allowed by the server.
Allowed Values:
Show Source
[
"base",
"children",
"one",
"sub"
]
Nested Schema : ds-cfg-allowed-subtrees
Type:
array
Specifies which subtrees are accessible to clients.
Show Source
Nested Schema : ds-cfg-prohibited-attributes
Type:
array
Specifies which attributes are not allowed in search and compare operations.
Show Source
Nested Schema : ds-cfg-prohibited-subtrees
Type:
array
Specifies which subtrees must be hidden from clients. Each prohibited subtree must be subordinate to an allowed subtree.
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:ErrorResponse
The REST message type