DeleteUser Service Operation
Deletes a user.
This operation is reserved for aggregators and super admins. For more information, see User Roles and Available Service Operations.
A DeleteUserRequest object that contains the request message that the client passes to the operation.
A DeleteUserResponse object that contains the response message that the operation returns to the client.
If the service operation fails, it throws a FaultException exception, which contains one or more of the Bing Ads API error data objects. For information about the fault detail objects, see Customer Management Error Data Objects and Handling Service Errors and Exceptions.
You cannot delete a user who is the primary user of an account, as identified by the PrimaryUserId element of the Account object. Before you can delete the user, you must set the primary user of the account to a different user for all accounts that reference the user.
You will not be able to reuse the username of the user that you are deleting when you add a new user.