Smartsheet.Api.Internal.UserResourcesImpl.DeleteAlternateEmail C# (CSharp) Method

DeleteAlternateEmail() public method

Delete alternate email.

It mirrors to the following Smartsheet REST API method: DELETE /users/{userId}/alternateemails/{alternateEmailId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public DeleteAlternateEmail ( long userId, long altEmailId ) : void
userId long the Id of the user
altEmailId long the alternate email Id
return void
        public void DeleteAlternateEmail(long userId, long altEmailId)
        {
            this.DeleteResource<AlternateEmail>("users/" + userId + "/alternateemails/" + altEmailId, typeof(AlternateEmail));
        }