DELETE /admin/communication/providers/{provider_id}

删除指定的服务商配置记录。删除后该渠道将回退使用默认服务商或提示未配置。参考:ePrivacy Directive 2002/58/EC、CAN-SPAM Act。

通信服务 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
provider_id path string 是 服务商配置ID

响应

状态描述Schema
200配置删除成功service-communication/internal/handler/dto.OKResponse
400请求参数错误dto.SimpleResponse
401未认证或令牌无效dto.SimpleResponse
403无权访问该资源dto.SimpleResponse
404配置不存在dto.SimpleResponse
500服务内部错误dto.SimpleResponse

引用的 Schema

dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-communication/internal/handler/dto.OKResponse

字段类型必填示例约束描述
code integer 否 0
message string 否 success