Delete Package
delete
/appstore/publisher/v1/applications/{listingVersionId}/packages/{packageVersionId}
Delete the package of an application.
Request
Path Parameters
-
listingVersionId: integer(int64)
Unique identifier of the application version whose package is to be deleted.
-
packageVersionId: integer(int64)
Unique identifier of the package to delete.
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
400 Response
Invalid Parameter Value/Bad Request
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
Examples
The following example deletes an existing package of a listing, 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/applications/3037612/packages/3037656"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token
Request Body
None
HTTP Status Code:
200 OK
JSON Response:
{ "message": "Listing Package for ListingVersionId = 3037612 was deleted.", "entityId": "3037612" }Back to Top