Skip to content
Discussion options

You must be logged in to vote

Filters can be combined, including metadata. This is likely user error. If you're using curl, this could be because you're 1) not using the -g flag to support brackets i.e. [], or 2) not quoting the URL string (the & query param separator is a special Shell keyword for background tasks). You may also be providing the metadata incorrectly, e.g. improper query param encoding, etc.

curl -vg -u token:$KEYGEN_TOKEN 'https://api.keygen.sh/v1/accounts/demo/users?status=active&metadata[foo]=bar'

This should work fine. If not, please provide a link to a request log of this occurring and I'll reopen.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ezekg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants