SMS
Remove SMS provider configuration
Removes a provider entry from smsProviders and clears legacy flat credential fields for that provider. If the deleted provider was the active one, smsProvider is unset (the org will report provider: null from GET /api/sms/providers until a new active provider is selected). Requires SUPERADMIN.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
provider*string
Provider whose configuration should be removed.
Value in
- "twilio"
- "sinch"
- "textgrid"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/sms/providers/config/twilio"{ "success": true, "message": "twilio SMS configuration saved"}