Delete an Auto Scaling Policy
delete
/paas/api/v1.1/instancemgmt/{identityDomainId}/services/APAAS/instances/{appName}/autoscaling/policies
Removes the automatic (auto) scaling policy from an Oracle Application Container Cloud Service application. This disables auto scaling on the service instance.
Request
Path Parameters
-
appName: string
Name of the application.
-
identityDomainId: string
Identity domain ID for the Oracle Application Container Cloud Service account.
Header Parameters
-
X-ID-TENANT-NAME: string
Identity domain ID for the Oracle Application Container Cloud Service account.
Response
202 Response
Accepted.
404 Response
Returned if no auto scaling policy is defined for the service instance.
Examples
The following example shows how to delete the auto scaling policy defined for an Oracle Application Container Cloud Service application instance, by submitting a DELETE request on the REST resource using cURL.
Note:
-
The command in this example uses the URL structure
https://rest_server_url/resource-path
, whererest_server_url
is the REST server to contact for your identity domain (or Cloud Account). See Send Requests. -
In the resource path, the service type
../APAAS/..
is case-sensitive.
cURL Command
curl -i -X DELETE -u username:userPassword1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest_server_url/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/APAAS/instances/ExampleApp/autoscaling/policies
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 202 Accepted
Date: Thu, 19 May 2016 02:23:06 GMT
Transfer-Encoding: chunked
Content-Type: application/json