IAMService
POST /v1/iam/roles
CreateRole 创建角色。code/name 必填,code 唯一;dataScope 不传时默认为 1。 permissionIds/menuIds 为创建时的初始授权集合,按传入数组整体设置。
Request
- Base URLhttps://api.apiqik.online (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Changes
No recorded changes to this operation across all 11 revisions of this API.