Thursday, April 16, 2015

How to remove a JCS Instance using REST APIs?


The following example shows how to delete an Oracle Java Cloud Service instance using cURL :

curl -i -X PUT u user:password
-d '{ "
dbaName": "SYSTEM", "dbaPassword": "system_pwd","forceDelete": true}'
-H "Content-
Type:application/json"
-H "X-ID-TENANT-NAME:
IdentityDomain"
https://jaas.oraclecloud.com/jaas/api/v1.1/instances/
IdentityDomain/JCS_Instance_Name



REST APIs provides an alternative to using the web-based user interface to create and manage Oracle Java Cloud Service instances.

For more information: http://docs.oracle.com/cloud/latest/jcs_gs/JSRMR/toc.htm