Delete Lead
delete
/appstore/publisher/v1/leads/{leadId}
Delete a lead with specific id.
Request
Path Parameters
-
leadId: integer(int64)
Unique identifier of lead which has to be deleted.
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
400 Response
Bad Request/Invalid Parameter
401 Response
Not Authorized
500 Response
System Error
Examples
The following example deletes a lead, 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/leads/2908689"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token
Request Body
None
HTTP Status Code:
200 OK
JSON Response:
{ "message":"Lead deleted successfully.", "entityId":"2908689" }Back to Top