Delete Service

delete

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

Delete a service. Only services that are in NEW state can be deleted.

Request

Path Parameters
Back to Top

Response

Supported Media Types

400 Response

Invalid Parameter Value

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example deletes an existing service by 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" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services/8422402"

Request Header

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

Request Body

   None

HTTP Status Code:

200 OK

JSON Response:

{
  "message": "service  was deleted.",
  "entityId": "8422402"
}
Back to Top