Delete Screenshots

delete

/appstore/publisher/v1/services/{listingVersionId}/screenshots/{id}

Delete a screenshot for an existing service.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : acknowledgement
Type: object
Show Source

400 Response

Bad Request

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example deletes a screenshot for an existing services belonging to a partner, by submitting a DELETE request on the REST resource using cURL.

cURL Example

curl -X DELETE -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" -H "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services/9483951/screenshots/2916362"

Request Header

X-Oracle-UserId: fname.lname@oracle.com 
Authorization: Bearer Access-token 

Request Body

   None

HTTP Status Code:

200 OK

JSON Response:

{
  "message": " Screenshot with id = 2916362  was deleted successfully.", 
  "entityId": "9483951",
}
Back to Top