curl -i -X POST \
-H "Content-Type:application/json" \
-H "Authorization:Bearer eyJ..." \
-d \
'{
"query":{
"user":{
"offset":"0",
"asc":true,
"limit":"100"
}
},
"queries":{
"userIdQuery":{
"userId":"291698014836228125"
}
}
}' \
'http://localhost:8080/management/v1/users/grants/_search'
curl -i -X POST \
-H "Content-Type:application/json" \
-H "Authorization:Bearer eyJ..." \
-d \
'{
"query":{
"user":{
"offset":"0",
"asc":true,
"limit":"100"
}
},
"queries":{
"userIdQuery":{
"userId":"291698014836228125"
}
}
}' \
'http://localhost:8080/management/v1/users/grants/_search'