Is it possible to query by multiple metadata values?

Right now, for the /licenses/ api, we are able to query by one metadata key and one metadata value.

Is it possible to query with multiple metadata keys and values? For example:

metadataKey = orgId
metadataValue = GuidA
metadataKey = custId
metadataValue = GuidB


Hi Eric,

An AND query would not return any data in this case. I suppose you mean OR. Currently, we only support AND operator.

How would I use the AND operator?

I want a license returned with both of the conditions above, one where the orgId is GuidA AND the custId is GuidB

Try the following:

/v3/licenses?metadata.key[in]=orgId,custId&metadata.value[in]= GuidA,GuidB