Removes an email alias from a user.
23432
The ID of the email alias.
12345
The ID of the user.
Removes the alias and returns an empty response.
An unexpected client error.
curl -X DELETE https://api.box.com/2.0/users/12345/email_aliases/23432 \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
await client.UsersManager.DeleteEmailAliasAsync(userId: "33333", emailAliasId: "12345");
BoxUser user = new BoxUser(api, "0");
user.deleteEmailAlias("123");
user_id = '33333'
email_alias_id = '12345'
user = client.user(user_id)
email_alias = client.email_alias(email_alias_id)
user.remove_email_alias(email_alias)
var userID = '33333';
var aliasID = '12345';
client.users.removeEmailAlias(userID, aliasID)
.then(() => {
// removal successful — no value returned
});