Skip to content

SmsDeleteSendWindow

DELETE sms/sendWindow

Deletes a send window. Afterwards the destination falls back to the * window, and if there is none, messages to that country are no longer time-restricted.

Messages already deferred by this window are not released early — they keep the send time they were given.

Access Control

Allowed role: admin, within the brand of the caller.

Request

DELETE request
DELETE https://{broker_domain}/sms/sendWindow?id=5
Authorization: <JWT_TOKEN>
{
  "command": "SmsDeleteSendWindow",
  "extID": "1",
  "data": {
    "id": 5
  }
}
const res = await platform.SmsDeleteSendWindow({
  id: 5
});

Request Data

Field Type Required Description
id int Yes Window id

Response Data

{
  "id": 5,
  "deleted": true,
  "message": "Send window with ID 5 has been deleted"
}

Errors

Code Error Description
404 NOT_FOUND Window not found in the brand