IAMService
CreateRole 创建角色。code/name 必填,code 唯一;dataScope 不传时默认为 1。 permissionIds/menuIds 为创建时的初始授权集合,按传入数组整体设置。
post/v1/iam/roles
Request body
Response
OK
Changes
No recorded changes to this endpoint across all 1 revision of this API.
CreateRole 创建角色。code/name 必填,code 唯一;dataScope 不传时默认为 1。 permissionIds/menuIds 为创建时的初始授权集合,按传入数组整体设置。
OK
No recorded changes to this endpoint across all 1 revision of this API.