Delete Location

delete

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

Delete a location.

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 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

NONE

HTTP Status Code:

200 OK

JSON Response:

{
  "message": "Partner Location with id= 127808425 deleted sucessfully"
}
Back to Top