Unable to remove user from AD realm

Jul 4, 2022
64
9
13
Poland
I've added Active Directory realm and user to my proxmox VE for tests. Now I'm unable to remove it, I'm getting an error:
Code:
Method 'DELETE /access/users//mydomain/user@ad' not implemented (501)
Is there any way to remove it?
 
If you're using Active Directory (AD) with Proxmox VE and need to delete a user, you can do so via the API. According to the API documentation, the endpoint for deleting a user is:

Code:
DELETE /access/users/{userid}

If your AD realm is ad and you want to delete the user test, you should use the following API call:

Code:
DELETE http://ip:8006/api2/json/access/users/test@ad

[1] https://pve.proxmox.com/pve-docs/api-viewer/index.html#/access/users/{userid}
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!