Search User Grants
Hello ,
For the endpoint:
https://zitadel.com/docs/apis/resources/mgmt/management-service-list-user-grants
the queries parameter only allows a single query.
Is there a way to perfrom and/or operation on these queries?
Or a better way to combine multiple queries and send the request
ZITADEL Docs
Returns a list of user grants that match the search queries. User grants are the roles users have for a specific project and organization.
6 Replies
It is possible to send multiple queries, they are and operations
{
"queries": [
{
"projectIdQuery": {
"projectId": "236476529792553067"
}
},
{
"userIdQuery": {
"userId": "212401993329737985"
}
}
]
}
if you send the body like that it should work
awesome , this works..thank @fabienne
great to hear
So for now we have and operations possible, is there any existing way to or these queries?
@hi.fabienne
no at the moment we only support and queries
Thanks 👍