Delete an application instance

delete

/api/v1/applications

This API will delete an application instance, identified by the application instance ID.

Request

Supported Media Types
Query Parameters
Header Parameters
Back to Top

Response

Supported Media Types

200 Response

The application instance was successfully deleted from Oracle CASB Cloud Service.
Headers
Body ()
Root Schema : ApplicationDeleteResponse
Type: object
The response body after successfully deleting an AWS instance.
Show Source

400 Response

Bad request format. Check the response for more information on which fields are inaccurate. Ensure that you have a request which follows the format.
Body ()
Root Schema : Error
Type: object
Show Source

401 Response

Unauthorized delete API call. See response for more details.
Body ()
Root Schema : Error
Type: object
Show Source

403 Response

Delete request is forbidden. It is likely the CASB APIs aren???t enabled for the tenant.
Body ()
Root Schema : Error
Type: object
Show Source

404 Response

Resource requested (instance ID) is not present.
Body ()
Root Schema : Error
Type: object
Show Source

500 Response

Internal Server error occured. See response for more details.
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top

Examples

The following example shows how to delete an AWS application instance by submitting a DELETE request.

Example URL: Deleting an Application Instance

https://<CASB-STACK>.casb.ocp.oraclecloud.com/api/v1/applications?applicationType=AWS&applicationInstanceId=e6d29a75-cdaf-4dfa-b35d-90c77899eb10

Example Response Body: Deleting an Application Instance

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

{
  "application-name": "e6d29a75-cdaf-4dfa-b35d-90c77899eb10",
  "tenant-id": "abcdefgh-1234-ijkl-5678-mnopqrstuvwx",
  "message": "Application removed successfully"
}
Back to Top