Delete Supporting Documents
delete
/appstore/publisher/v1/applications/{listingVersionId}/supportingdocs/{id}
Delete a supporting document for an existing application.
Request
Path Parameters
-
id: integer(int64)
ID of the document to delete.
-
listingVersionId: integer(int64)
Listing ID for which to delete the document.
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 a supporting document for an existing application 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/applications/2908689/supportingdocs/2916378"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token
Request Body
None
HTTP Status Code:
200 OK
JSON Response:
{ "message": "Supported Document with id = 291637 was deleted successfully.", "entityId": "2908689", }Back to Top