api:flexcare:videochat:deletesms
Table of Contents
API : Flexcare : Videochat : Delete sms
Introduction
This endpoints deletes a sms
Request
| URL | https://api.telecomx.dk/flexcare/videochat/sms/SMS_ID | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | RESELLER, ADMIN | ||
| Params | SMS_ID | Id of the sms | |
Query example
https://api.telecomx.dk/flexcare/videochat/sms/1234567890123457890CCCC
Response
| JSON object | ||
|---|---|---|
| sms | Array | List of sms's |
| sms []._id | ObjectId | Unique id of a sms. |
| sms [].customer | ObjectId | Id of the customer. |
| sms [].name | String | Name of the message. |
| sms [].message | String | The message to send. |
Example
{ sms: [ { _id: ObjectId('1234567890123457890CCCC'), customer: ObjectId('1234567890123457890CCCC'), name: 'Sundhed undersøgelse', message: 'Til at deltage i mødet tryk på linket %meeting_url%' } ] }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | token | Access denied |
| 404 | sms | SMS not found |
| 404 | customer | Customer not found |
| 422 | Invalid data | Data is not valid in query or body |
| 500 | internal_error | <Unspecified> |
api/flexcare/videochat/deletesms.txt · Last modified: 2025/11/10 12:41 by Gudni Sigurdsson