Add Application Role Member
Add role member information
Data includes: add user, position, department
Request
Body Params application/json
{
"appKey": "5004e1f1c103fc82",
"sign": "MWQzYWJiNTNlYzZmNjZhNTA1NTExMGZhNzEyMjU3ZTMzM2Q2YWFmZWJkMTZjMWM1NTRjNDZiODUwNjc5OTUzNg==",
"roleId": "3843c546-fc47-4d29-b0cc-2463f013f115",
"operatorId": "e2453de8-1a6a-4d4f-ba36-87fdff880a20",
"userIds": [
"e2453de8-1a6a-4d4f-ba36-87fdff880a20"
],
"departmentIds": [],
"departmentTreeIds": [],
"jobIds": [],
"orgRoleIds": []
}
Request Code Samples
curl --location --request POST 'https://api.mingdao.com/v1/open/app/addRoleMember' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "5004e1f1c103fc82",
"sign": "MWQzYWJiNTNlYzZmNjZhNTA1NTExMGZhNzEyMjU3ZTMzM2Q2YWFmZWJkMTZjMWM1NTRjNDZiODUwNjc5OTUzNg==",
"roleId": "3843c546-fc47-4d29-b0cc-2463f013f115",
"operatorId": "e2453de8-1a6a-4d4f-ba36-87fdff880a20",
"userIds": [
"e2453de8-1a6a-4d4f-ba36-87fdff880a20"
],
"departmentIds": [],
"departmentTreeIds": [],
"jobIds": [],
"orgRoleIds": []
}'
Responses
application/json {
"data": true,
"success": true,
"error_code": 1
}
Modified at 2025-04-07 02:46:46