Delete Banner
delete
/appstore/publisher/v1/services/{listingVersionId}/banner
Delete the banner for the service.
Request
Path Parameters
-
listingVersionId: integer(int64)
Unique identifier of the service from which to delete the banner.
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
400 Response
Bad Request
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
Examples
The following example deletes the banner of a service, by submitting a DELETE request on the REST resource using cURL.
cURL Example
curl -X DELETE -H "Authorization: Bearer Access-token" -H "X-Oracle-UserId: partner-email" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services/8422515/banner"
Request Header
Authorization: Bearer Access-token X-Oracle-UserId: fname.lname@oracle.com
Request Body
NONEHTTP Status Code:
200 OK
JSON Response:
{ "message": "Banner for listing version id = 8422545 was deleted successfully", "entityId": "8422515 " }Back to Top