How to filter by Schema name / id in the GET Schemas SCIM API

I am trying to filter the schema by its id/name in the GET Schemas SCIM API…not able to get any filter working. Is there a support for filters?

For eg, below I want to list all schemas that contain ‘User’ as keyword it its ‘id’. Is that possible?

When we use something like ‘http://{{identityiqhost}}/{{identityiqappname}}/scim/v2/Schemas?filter=schema co “User”’ we get
{
“schemas”: [
“urn:ietf:params:scim:api:messages:2.0:Error”
],
“scimType”: “invalidFilter”,
“detail”: “Query filter is not supported.”,
“status”: “403”
}

Yeah, I guess filtering is not supported for this endpoint which is odd.

I did mess around with it. If you provide the exact ID of the schema you want to fetch, you can get an individual schema.

Example:

{{IIQ_BASE_URL}}/scim/v2/Schemas/urn:ietf:params:scim:schemas:sailpoint:1.0:User

I found this here: get-schema-by-id | SailPoint Developer Community. I did submit a ticket to SailPoint a couple of weeks ago for improving the public SCIM API doc as it’s pretty bare minimum at the moment.

Thanks @patrickboston. This helps but we are actually trying to filter for a pattern on the schema ID like ‘contains User’, which is not working. You are right, the documentation needs improvement.

1 Like