Delete Location
delete
/appstore/publisher/v1/services/{listingVersionId}/locations/{id}
Delete a location.
Request
Path Parameters
-
id: integer(int64)
ID of the screenshot to delete.
-
listingVersionId: integer(int64)
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
400 Response
Invalid Parameter Value
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
Examples
The following example deletes an existing geo-graphic locations for 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/9483951/locations/127808425"
Request Header
Authorization: Bearer Access-token X-Oracle-UserId: fname.lname@oracle.com
Request Body
NONEHTTP Status Code:
200 OK
JSON Response:
{ "message": "Partner Location with id= 127808425 deleted sucessfully" }Back to Top