Skip to main content
Answer

Get only licensed users via SCIM API

  • September 24, 2024
  • 2 replies
  • 194 views

Forum|alt.badge.img+1

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!

Best answer by Andrew Y

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
Forum|alt.badge.img
  • Lucidite
  • Answer
  • September 24, 2024

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.


Forum|alt.badge.img+1
  • Author
  • September 24, 2024

Hi Andrew, thank you very much - it worked!