Hello. Is it possible to delete a user/users via the API (/dwapi)?
Developer forum
E-mail notifications
Delete user via /dwapi
                                                            
                        Vincent Gercke
                    
                    Replies
                                                            
                            
                        
							Nicolai Pedersen 
							
						
						
															
								
								
															
															
															
								
								
								
						
								Posted on 06/09/2023 11:09:31
							
							
						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 
							
						
						
								Posted on 12/09/2023 11:56:59
							
							
						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 
							
						
						
															
								
								
															
															
															
								
								
								
						
								Posted on 12/09/2023 16:36:35
							
							
						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 
							
						
						
								Posted on 12/09/2023 20:09:41
							
							
						Thanks! I'll pass it on to the customer :-)
You must be logged in to post in the forum