Update Configuration Value
put
/ohfapi/cg/v3.3/config
This endpoint lets you update the Configuration value. Make sure that the Configuration Key being updated already exists.
Request
Supported Media Types
- application/json
- application/xml
Root Schema : ConfigurationEntry
Type:
Show Source
object
-
key:
string
Key entry for the configuration. The typical ones are api.dateformat for date format , api.pagination.limit for default pagination limit.
-
value:
string
The value for the configuration.
Security
-
basicAuth: basic
Type:
basic
Response
Supported Media Types
- application/json
- application/xml
Default Response
successful operation
Examples
The following example submits a PUT request.
http://localhost:7010/ohfapi/cg/v3.3/config
Example of Request Body
The following example shows the contents of the response body in JSON format:
{ "key":"api.pagination.limit", "value" : "200" }