Skip to main content

With my team we're currently trying to have an automated process to manage the users in our subscription. 

In particular we're trying to do the following operations : 

- Get a user (done)


- Create a user (done)


- Update an existing user (not done)


- Deleting an existing user (not done)


 


For the last two operations I didn't see any documentation on how to do such operations. Are they supported through Rest API ? If so where can I find some documentation on how to do that ? 

Thanks in advance !

Hi Armand


Thanks for posting in the Lucid Community! I've linked our SCIM API developer documentation here which details how you can update users via the "Users" endpoint (https://users.lucid.app/scim/v2/Users/:id) with a PUT or PATCH request. To delete a user you can send a request with a DELETE method to the users endpoint specifying the id of the user you'd like to delete in the request URL. 


Hi Adam

Thanks for you answer.

Because I have not SCIM enable (and don't want to to avoid the automatic update for number of licences) is there any other way to do so through OAuth applications ?  


Hi Armand


Thanks for following up. SCIM is the only API we support that provides methods for user creation/modification. Regarding the automatic update setting that is only required to be toggled to enable SCIM and generate the bearer token and can be disabled after the bearer token is created. If you're interested in enabling SCIM please reach out to support@lucid.co


Hi Adam

Thanks I reached out to the support.

While I'm waiting for the SCIM to be enabled I was looking at the documentation and don't see any endpoint to delete a user. 

Did I miss something ?


Hi Armand


The delete method is not listed in our documentation but you should be able to delete a user via the method I described in my first response to this post (by sending a request with a DELETE method to the users endpoint). 


Reply