Delete User By Email
This endpoint allows you to delete a user from the system by their registered email address.
Authorized Roles : SYSTEM_ADMIN or INFRA_ADMIN or DSM_ADMIN
The email address of the user to be deleted. The email must be registered in the system.
Bearer token for authentication (e.g., "Bearer <token>" obtained from /provider/session)
Must be application/vnd.vmware.dms-v1+json
User successfully deleted. No content will be returned.
Bad request. The email address is invalid or missing.
{
"message": "string",
"errorCodes": {
"type": "string"
}
}
User not found with the given email address.
{
"message": "string",
"errorCodes": {
"type": "string"
}
}
There are workloads or roles associated with this user. Deletion is not possible.
"ErrorDto Object"
message
errorCodes
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/provider/users?email=v