Delete a Snapshot

delete

/ic/api/process/v1/spaces/{spaceId}/projects/{projectId}/snapshots/{snapshotId}

Deletes the specified snapsnot and returns the details of the snapshot.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Success. Sanpshot successfully deleted.
Body ()
Root Schema : snapshot
Type: object
the representation of a design time snapshot created from a project

401 Response

Unauthorized

403 Response

Privileges required. User can't delete the snapshot

404 Response

Space/Project/Snapshot not found.

500 Response

Error in deleting snapshot
Back to Top

Examples

The following example shows how to delete a snapshot by submitting a DELETE request on the REST resource.

Send Request

The following example shows the contents of the send request:

https://example.com/ic/api/process/<version>/spaces/<spaceId>/projects/<projectId>/snapshots/<snapshotId>

Where,

  • example.com is the host where Oracle Integration is running.

  • <version> is the REST API version.

  • <spaceId> is the unique ID for a space. To retrieve available spaces, see Retrieve Spaces.

  • <projectId> is the unique ID for a project. To retrieve available projects, see Retrieve projects

  • <snapshotId> is the unique ID for a snapshot. To retrieve available snapshots, see Retrieve the snapshots of a given project

Example of Response Header

Status Code: 200 OK
Date:  Tue, 21 Mar 2017 08:39:54 GMT
Content-Type:  application/json

Example of Response Body

{
  "id": "Snapshot1",
  "description": "This is my Snapshot",
  "creator": "jsmith",
  "creation": "2017-04-03,03:21:19 PDT"
}
Back to Top