1. 描述
关闭神授。
2. 调用场景
神管理员登录超级控制台后,可以关闭普通开发者的神授。使得神授进入DISABLED状态,也只有Root角色重新打开这个神授。
管理员(Root)
- 登录http://consoler.{zond_id}.xdua.com后,
- 根据条件查询神授,条件是某个神授。
- 点击
冻结,可以关闭神授。
3. 配置参数
参数意义参考接口参数
| 参数名 | 参数值 | 说明 |
|---|---|---|
| Name | DisUsrox | |
| URL | https://api.xdua.com/usrox | |
| Method | PUT | |
| XduaApiHttpSchema | HTTPS | 只走HTTPS |
| XduaApiMethod | DIS | |
| XduaApiColor | X | 只有持有神令牌,才可以创建神授 |
| XduaApiAudience | ConsoleX | 只有app_id为ConsoleX的应用,也就是consolex.xdua.com才可以发起本请求 |
| XduaApiShop | XdUaXduA | 神授直辖神授,只有这个神授的登录人员才可以访问 |
| XduaApiSubject | u | 必须是创建者才可以自闭神授 |
| XduaApiRoles | Root | 只有神级管理员才可以关闭普通开发者的神授 |
| XduaApiResource | role | |
| XduaApiKparam | id | |
| XduaApiAction | DisableUsrox | |
| XduaApiRule | DisableUsrox | |
| XduaApiAstates | 0,0 或者0 |
按序app,zone,corp,shop,user,token,login的状态都必须是0(STATE_ENABLED) |
| XduaApiEnable | true | 接口使能 |
4. 请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 说明 |
|---|---|---|---|---|---|---|
| id | path | string | 是 | rYub4wrT | 要删除的神授ID |
5. 返回参数
| 名称 | 位置 | 类型 | 示例 | 说明 |
|---|---|---|---|---|
| id | result | string | rYub4wrT | 删除的神授ID |
