Skip to main content
Sep 24, 2024 8:54 PM UTC
Solved

Get only licensed users via SCIM API

Hello,

can anyone help to construct the API request to get only licensed users via SCIM (e.g., if any of four urn:ietf:params:scim:schemas:extension:lucid:1.0:User.productLicenses is True?

This is the API I am using: https://lucid.readme.io/reference/getallusers-1

If I use this URI: “https://users.lucid.app/scim/v2/Users?startIndex=1...” this returns ALL active users which is huge count for our organization and I only need to get Users who have any license assigned to them (much smaller count).

Documentation says that attribute “urn:ietf:params:scim:schemas:extension:lucid:1.0:User.productLicenses” can be used to filter for this but I am not getting how to actually use it.

Please help!

Andrew Y
Andrew YAnswer
Lucidite
Sep 24, 2024 10:05 PM UTC

Hello,

 

You can filter all of the users that have a Lucidchart product license with the following filter value. 

https://users.lucid.app/scim/v2/Users?filter=urn:ietf:params:scim:schemas:extension:lucid:1.0:User.productLicenses.Lucidchart eq true

You can change “Lucidchart” to any of the other product licenses (“Lucidspark”, “LucidscaleCreator”, “LucidscaleExplorer”) as desired.

 

Hope this helps.

Comments

Andrew Y
Andrew YAnswer
Lucidite
Sep 24, 2024 10:05 PM UTC

Hello,

 

You can filter all of the users that have a Lucidchart product license with the following filter value. 

https://users.lucid.app/scim/v2/Users?filter=urn:ietf:params:scim:schemas:extension:lucid:1.0:User.productLicenses.Lucidchart eq true

You can change “Lucidchart” to any of the other product licenses (“Lucidspark”, “LucidscaleCreator”, “LucidscaleExplorer”) as desired.

 

Hope this helps.

Translate
Sep 24, 2024 10:09 PM UTC

Hi Andrew, thank you very much - it worked!

Translate