Skip to content
gCRM API Docs
Main Navigation
Home
Api
Appearance
Menu
Return to top
On this page
创建角色 API
Path
Method
Created At
/api/rbac/roles/create
POST
2025-11-29 00:39:11
Request
Key
Rule
Description
name
string,max:32
角色名称必须是字符串,且长度不能超过32个字符
department_ids
array,min:1
默认部门不存在
position_ids
array,min:1
默认岗位不存在
user_ids
array,min:1
用户不存在
Response
Key
Type
Example
Comment