myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Delete device

DELETE

/api/v1/ext/devices/{channel}/{id}

Remove a device connection.

Auth: Bearer access_token
Scope: devices.write

Deletes the device connection across any channel (android, whatsapp, imessage, rcs). A device that's still assigned to a workspace/subaccount is protected — unassign it first (for whatsapp/imessage/rcs, PATCH workspace_id = null; for android, unassign it from the subaccount) before deleting.

Parameters

NameInTypeRequiredDescription
channel
path
enum
yes
"android" | "whatsapp" | "imessage" | "rcs".
id
path
number
yes
Device id.

Responses

StatusWhen
200
Deleted
400
Device still assigned to a workspace/subaccount — unassign first
401
Missing or invalid token
403
Missing scope
404
Device does not exist or is not owned by the installer
Request
curl -X DELETE "https://backend.mysmsgateway.app/api/v1/ext/devices/{channel}/{id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
Deleted
{
  "success": true,
  "message": "Device deleted.",
  "data": {
    "channel": "whatsapp",
    "id": 12,
    "deleted": true
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

"android" | "whatsapp" | "imessage" | "rcs".

Device id.

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

« Update device

Next

List messages »