Create a Cache



Creates a cache instance.


Supported Media Types
  • application/
Path Parameters
Type: string
Required: true
Name of the identity domain for the Oracle Application Container Cloud Service account
Body Parameter
Required payload
Root Schema : create-request
Request body specifies service details.
Nested Schema : service-parameters
Type: object


Supported Media Types
  • application/json
202 Response
Root Schema : details-jobid
Type: object
Nested Schema : details
Type: object
429 Response
Too Many Requests. Returned if the quota of instances has been exceeded.
500 Response
Server Error. Returned if a server error has occurred.


The following example shows how to create a cache by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, including how to determine your region, see Send Requests.

curl -i -X POST -u \
 -H "X-ID-TENANT-NAME:ExampleIdentityDomain" \
 -H "Content-Type:application/" \
 -d @create-cache.json \

Example of Request Body

The following example shows the contents of the request body in JSON format. This is the contents of the create-cache.json file listed in the cURL command.

      "serviceDescription":"Cache creation example",

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 202 Accepted
Date: Wed, 12 Apr 2017 16:01:26 GMT
Transfer-Encoding: chunked
Content-Type: application/
Access-Control-Allow-Headers: Content-Type, api_key, Authorization, X-ID-TENANT-NAME, X-USER-IDENTITY-DOMAIN-NAME
Retry-After: 60
Access-Control-Allow-Methods: GET, POST, DELETE, PUT, OPTIONS, HEAD
X-ORACLE-DMS-ECID: e6b609ac-e548-4bee-8d87-fd2b4c6a51bf-0000f315
Access-Control-Allow-Origin: *
X-Frame-Options: DENY

Example of Response Body

The following example shows the contents of the response body in JSON format.

      "message":"Submitted job to create service [MyCache] in domain [ExampleIdentityDomain].",