Delete a snapshot

delete

/api/20210901/snapshots/{snapshotId}

Remove a snapshot resource from an Analytics instance. This operation deregisters a snapshot that's currently registered with an Analytics instance. The delete operation doesn't delete the snapshot (BAR file) from Oracle Cloud Infrastructure storage.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

200 Response

Successful operation.

400 Response

Bad Request (invalid query parameters, malformed headers, and so on).
Body ()
Root Schema : Error
Type: object
Show Source

404 Response

Not Found. The requested resource was not found.
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top

Examples

In this example, you deregister a snapshot that's associated with your Oracle Analytics instance. The ID of the snapshot is ac6fdab7-9c16-4d22-a56f-cb7b5d15505a. You can use Get all snapshots to find the snapshot ID.

Note:

This delete operation doesn't delete the snapshot from Oracle Cloud Infrastructure Object Storage. The BAR file associated with the snapshot remains available in cloud storage.

cURL Example:

curl -i \
  --header 'Authorization: Bearer <token>' \
  --request DELETE 'https://<hostname>/api/20210901/snapshots/ac6fdab7-9c16-4d22-a56f-cb7b5d15505a'

Example of Request Body

Not applicable.

Example of Response Body

Not applicable.
Back to Top