When attempting to hit the Slack SCIM API I am unable to filter users on the active field. Am I forming this query incorrectly?
I'm currently using GET
https://api.slack.com/scim/v1/Users/?filter=active eq "true"
When filtering on email for example, the results are as expected. The same goes for other fields. Only active fails.
It produces this error message:
{
"Errors": {
"description": "invalid_query (is_aggregate_call=1)",
"code": 400
}
}
The Slack SCIM API filter functionality only supports filter
ing on username
, email
, restricted
, ultra_restricted
so unfortunately what you're looking to do is not possible at the moment.
Excerpt from docs:
Filters may be applied to the username and email user attributes, with the addition of two membership filters:
Definitely consider writing in to submit your use case/suggestion/feedback!