System系统管理

新增角色接口

新增角色接口

post/api/v1/role/add

Request

  • The document declares no server URL.
  • Auth
    API key in header Authorization

Request body

descriptionstring

描述

roleKeystring

角色key

roleNamestring

角色名称

statusinteger

状态:1->启用,2->禁用

Response

OK

codeinteger

状态码

dataunknown
messagestring

提示信息

Changes

No recorded changes to this operation across all 1 revision of this API.