Developer forum

Forum » Development » Delete user via /dwapi

Delete user via /dwapi

Vincent Gercke
Reply

Hello. Is it possible to delete a user/users via the API (/dwapi)?


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Nope.

We could implement a DELETGE for users that are them selves - if that ever makes sense. Or for users I can impersonate?

 
Vincent Gercke
Reply

For our use case, it would be optimal for "users I can impersonate". The goal is to be able delete a user from multiple systems at once, if the user requests to be deleted - hence the need for a endpoint in DW to delete users :-)

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I have created a pull request that adds a DELETE for users.

https://dev.azure.com/dynamicwebsoftware/Dynamicweb/_git/Dynamicweb/pullrequest/10175

This endpoint allows deletion of the user him self or any user that current user can impersonate

 
Vincent Gercke
Reply

Thanks! I'll pass it on to the customer :-)

 

You must be logged in to post in the forum