/oauth/unbind/{connection_id}
删除指定的 OAuth 连接,解除 Autional 用户与第三方 OAuth 提供商的绑定。需 JWT 认证。
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|---|---|
connection_id |
path |
string |
是 | OAuth 连接 ID |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | 解绑成功 | service-core/base/dto.SimpleResponse |
| 401 | 未认证 | service-core/base/dto.SimpleResponse |
| 404 | 连接不存在 | service-core/base/dto.SimpleResponse |
| 500 | 服务内部错误 | service-core/base/dto.SimpleResponse |
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |