{
"userIds": [
"sde97e09cbe9f466b9d706cc"
],
"uGroupIds": [],
"privilegeName": "READER",
"resourceId": "n764049b22e0346479cea575",
"resourceType": "directory"
}curl --location --request POST '/public-api/resource-authenticate/grant-privileges' \
--header 'X-Auth-Token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"userIds": [
"sde97e09cbe9f466b9d706cc"
],
"uGroupIds": [],
"privilegeName": "READER",
"resourceId": "n764049b22e0346479cea575",
"resourceType": "directory"
}'{
"result": "string",
"response": {
"ownerGroups": [
"string"
],
"ownerUsers": [
{
"id": "string",
"name": "string",
"canExport": true,
"avatar": "string",
"loginId": "string",
"email": "string"
}
],
"readableGroups": [
"string"
],
"readableUsers": [
{
"id": "string",
"name": "string",
"canExport": true,
"avatar": "string",
"loginId": "string",
"email": "string"
}
]
},
"error": {
"status": 0,
"message": "string",
"detail": {
"notifyType": "string"
}
}
}