Delete an Auto Scaling Policy

delete

/paas/api/v1.1/instancemgmt/{identityDomainId}/services/JaaS/instances/{serviceId}/autoscaling/policies

This endpoint is not applicable to service instances created on Oracle Cloud Infrastructure.

Removes the automatic (auto) scaling policy from an Oracle Java Cloud Service instance. This disables auto scaling on the service instance.

Request

Path Parameters
Header Parameters
Back to Top

Response

202 Response

Accepted.

404 Response

Returned if no auto scaling policy is defined for the service instance.
Back to Top

Examples

The following example shows how to delete the auto scaling policy defined for an Oracle Java Cloud Service 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, where rest_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 ../JaaS/.. is case-sensitive.

cURL Command

curl -i -X DELETE -u username:password -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest_server_url/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/JaaS/instances/ExampleInstance/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
Back to Top