Skip to main content
Answer

Manage users with API key

  • December 16, 2024
  • 3 replies
  • 94 views

Forum|alt.badge.img+1

I keep getting access forbidden error using 'https://api.lucid.co/users'

However I can get a single user assuming I know the ID.

Also, my key says view only. Assuming I get it to list all users how do I allow the key to delete users ?

Best answer by Michael B

Hello Dcazman,

 

The https://developer.lucid.co/reference/listusers endpoint is only available to `Account OAuth2` tokens. API Keys do not have access to this endpoint.  Additionally, User management functionality is currently only available via SCIM https://developer.lucid.co/reference/overview-scim. The Rest API does have a `Create User` endpoint, but it is limited in capability. More advanced functionality requires SCIM.

Comments

Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • Answer
  • December 18, 2024

Hello Dcazman,

 

The https://developer.lucid.co/reference/listusers endpoint is only available to `Account OAuth2` tokens. API Keys do not have access to this endpoint.  Additionally, User management functionality is currently only available via SCIM https://developer.lucid.co/reference/overview-scim. The Rest API does have a `Create User` endpoint, but it is limited in capability. More advanced functionality requires SCIM.


Forum|alt.badge.img+1
  • Author
  • December 18, 2024

I found the way to do it with PS and the SCIM API but the documentation is not clear and I stumbled on it.


Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • December 18, 2024

I’m glad to hear that. There is lots of room for improvement in our documentation, and we hope to make the user management and licensing endpoints available via Rest API in the future. It is not currently on our road-map.