Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I try to retrieve the licence assignent for one user in SassS.
I don't know how to use the filter command, I want to filter by the subject like that but I have an error :
qlik license assignment ls --filter ("subject eq 'Toto@toto.com'")
Error: {
"error": "LICENSES-BadRequest",
"message": "invalid filter, parse conflict [00:001]: expected op.Or or[func func func func] but got \"su\"",
"errors": [
{
"code": "LICENSES-036",
"title": "invalid filter, parse conflict [00:001]: expected op.Or or[func func func func] but got \"su\""
}
]
}
Do you know how I can use filter with Cli SAAS ?
Thanks
The API itself expects this format: filter=field <operator> "<value>". Example: /api/v1/licenses/assignments?filter=subject eq "QLIK-POC\\ltu"
To operationalize this in Qlik-CLI, we would use this style of syntax:
qlik license assignment ls --filter 'subject eq \"QLIK-POC\\ltu\"'
(we are escaping the double quotes and, in my case the backslash, characters)
The API itself expects this format: filter=field <operator> "<value>". Example: /api/v1/licenses/assignments?filter=subject eq "QLIK-POC\\ltu"
To operationalize this in Qlik-CLI, we would use this style of syntax:
qlik license assignment ls --filter 'subject eq \"QLIK-POC\\ltu\"'
(we are escaping the double quotes and, in my case the backslash, characters)
Thank you !