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 -i -X DELETE "https://api.box.com/2.0/users/12345/email_aliases/23432" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.emailAliases.deleteUserEmailAliasById(newUser.id, newAlias.id!);
client.email_aliases.delete_user_email_alias_by_id(new_user.id, new_alias.id)
await client.EmailAliases.DeleteUserEmailAliasByIdAsync(userId: newUser.Id, emailAliasId: NullableUtils.Unwrap(newAlias.Id));
try await client.emailAliases.deleteUserEmailAliasById(userId: newUser.id, emailAliasId: newAlias.id!)
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)
await client.UsersManager.DeleteEmailAliasAsync(userId: "33333", emailAliasId: "12345");
var userID = '33333';
var aliasID = '12345';
client.users.removeEmailAlias(userID, aliasID)
.then(() => {
// removal successful — no value returned
});