Delete an Access Control Rule on a Load Balancer
/paas/api/v1.1/instancemgmt/{identityDomainId}/services/jaas/instances/{serviceId}/loadbalancer/{loadBalancerName}/rules/{ruleName}
Removes the access control rule set from the Oracle-managed load balancer.
Request
- application/json
-
identityDomainId: string
Identity domain ID for the Oracle Java Cloud Service account.
-
loadBalancerName: string
Name of the Oracle-managed load balancer. Valid value:
public
-
ruleName: string
Name of the access control rule to remove.
-
serviceId: string
Name of the Oracle Java Cloud Service instance.
-
Authorization: string
Base64 encoded user name and password separated by a colon or OAuth access token obtained from Oracle Identity Cloud Service. See Authenticate.
-
X-ID-TENANT-NAME: string
Identity domain ID for the Oracle Java Cloud Service account.
Response
- application/json
202 Response
object
-
details:
object details
Groups details of the operation.
object
-
jobId:
string
Job ID for the operation.
-
message:
string
System message that describes the operation.
Examples
The following example shows how to remove an access control rule from the Oracle-managed load balancer by submitting a DELETE request on the REST resource using cURL.
Note: The command in the 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.
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/loadbalancer/public/rules/accessrule01
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 202 Accepted
Date: Fri, 22 Nov 2019 18:34:11 GMT
Location: https://rest_server_url/paas/api/v1.1/activitylog/ExampleIdentityDomain/job/30452
Content-Length: 139
Content-Type: application/vnd.com.oracle.oracloud.provisioning.Service+json
Service-URI: https://rest_server_url/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/jaas/instances/ExampleInstance
Retry-After: 60
Example of Response Body
The following shows an example of the response body in JSON format.
{
"details":{
"message": "Submitted job to update load balancer configuration for service [ExampleInstance] in domain [ExampleIdentityDomain].",
"jobId": "30452"
}
}