Delete a Backup (Synchronous)
delete
/paas/api/v1.1/instancemgmt/{identityDomainId}/services/jaas/instances/{serviceId}/backups/{backupId}
This synchronous delete operation is deprecated. To delete a backup asynchronously, see Delete a Backup (Asynchronous).
Request
Path Parameters
-
backupId: string
Backup ID. To retrieve the backup ID, see View All Backups.
-
identityDomainId: string
Identity domain ID for the Oracle Java Cloud Service account.
-
serviceId: string
Name of the Oracle Java Cloud Service instance.
Header Parameters
-
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
200 Response
OK. See Status Codes for information about other possible HTTP status codes.
400 Response
Bad Request. Returned if the backup does not exist.
Examples
The following example shows how to delete a backup 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.
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/backups/1449597240793
Example of Response Header
The following shows an example of the response header:
HTTP/1.1 200 OK
Date: Wed, 06 Jul 2016 18:29:22 GMT
Content-Length: 0
Content-Type: application/json