{
"menus": [
"项目管理",
"访问权限"
],
"objectId": "tXcMOOJFA1",
"roles": [
"admin"
],
"rules": [
"GET_USERS_ID",
"GET_USERS_ME"
],
"users": [
"test"
]
}curl --location --request PUT 'https://prod.iotn2n.com/iotapi/role' \
--header 'Content-Type: application/json' \
--data-raw '{
"menus": [
"项目管理",
"访问权限"
],
"objectId": "tXcMOOJFA1",
"roles": [
"admin"
],
"rules": [
"GET_USERS_ID",
"GET_USERS_ME"
],
"users": [
"test"
]
}'{}