myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Delete opportunity

DELETE

/api/v1/ext/opportunities/{id}

Delete an opportunity.

Auth: Bearer access_token
Scope: opportunities.write

Parameters

NameInTypeRequiredDescription
id
path
number
yes
Opportunity id.

Responses

StatusWhen
200
OK
401
Missing or invalid token
403
Missing scope
404
Opportunity does not exist or is not owned by the installer
Request
curl -X DELETE "https://backend.mysmsgateway.app/api/v1/ext/opportunities/{id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "message": "Opportunity deleted"
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

Opportunity id.

Request URL
DELETEhttps://backend.mysmsgateway.app/api/v1/ext/opportunities/%7Bid%7D
Previous

« Change status

Next

List activities »