Add role member information
Data includes: adding users, positions, departments
Request
Body Params application/json
{
"operatorId": "e2453de8-1a6a-4d4f-ba36-87fdff880a20",
"accountIds": [
"e2453de8-1a6a-4d4f-ba36-87fdff880a20"
],
"departmentIds": [],
"departmentTreeIds": [],
"jobIds": [],
"orgRoleIds": []
}
Request Code Samples
curl --location --request POST 'https://api.mingdao.com/v3/app/roles//members' \
--header 'HAP-Appkey: {{appkey}}' \
--header 'HAP-Sign: {{sign}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"operatorId": "e2453de8-1a6a-4d4f-ba36-87fdff880a20",
"accountIds": [
"e2453de8-1a6a-4d4f-ba36-87fdff880a20"
],
"departmentIds": [],
"departmentTreeIds": [],
"jobIds": [],
"orgRoleIds": []
}'
Responses
application/json {
"success": true,
"error_code": 1
}
Modified at 2025-08-21 09:35:00