myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Delete lead form

DELETE

/api/v1/ext/lead-forms/{id}

Delete a form; its page stops answering at once.

Auth: Bearer access_token
Scope: lead_forms.write

Submissions already received stay with the contacts they created.

Parameters

NameInTypeRequiredDescription
id
path
number
yes
The form id.

Responses

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

The form id.

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

« Update lead form

Next

List submissions »