Patch configuration

patch

/developers/services/v1/portal/customization/configuration

Customizes the Developer Portal configuration based on the provided JSON. You can post a partial JSON file as long as it retains the same structure as the original resource file. The provided JSON is merged into the existing structure.

Users requesting this resource must be assigned the Administrator role.

Request

Supported Media Types
Query Parameters
Body ()
Configuration JSON
Root Schema : JSONObject
Type: object
Back to Top

Response

204 Response

None

401 Response

Authentication required.

404 Response

Not allowed to set.
Back to Top

Examples

The following example shows how to customize the Oracle API Platform Cloud Service - Classic Developer Portal configuration by submitting a PATCH request on the REST resource using cURL. For more information about cURL, see Use cURL

curl -i -X PATCH 
-u apicsadmin:password
-H "Content-Type: application/json"
-d @config.json
https://example.com/developers/services/v1/portal/customization/configuration

Example of Request Body

The following shows an example of the request body in JSON format that updates the Consumer Portal logo.

{
  "portalName": "dev"
}

Example of Response Headers

The following shows an example of the response headers.

HTTP/1.1 204 No Content
Date: Thu, 15 Feb 2018 16:18:34 GMT
Content-length: 0
X-oracle-dms-ecid: a7070a18-e96d-4e69-a511-58eafd07a798-0000f847
X-oracle-dms-rid: 0:1
Back to Top