删除策略
测试中DELETE
/api/v2/policies/{code}/remove请求参数
Path 参数
code
string
策略的唯一标识
示例值:
code
Query 参数
namespace
string
权限分组 Code
示例值:
namespace-code
Header 参数
Authorization
string
必需
用户池管理员 Token
示例值:
Bearer token
x-authing-userpool-id
string
用户池 ID
示例值:
61cc2c7bb686e2767125230d
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
示例
{
"code": 200,
"message": "删除成功"
}
最后修改时间: 3 年前