DELETE api/Account/{accountNumber}/DeleteEmailAddress
Deletes an email address from the acount
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| accountNumber | 
                         The account number  | 
                    string | 
                                 Required  | 
                
Body Parameters
The email object
EmailDto| Name | Description | Type | Additional information | 
|---|---|---|---|
| EmailAddress | 
                         The email address  | 
                    string | 
                             None.  | 
                
| EmailStatements | 
                         If true, statements should be emailed to this address  | 
                    boolean | 
                             None.  | 
                
| EmailType | 
                         The type of the email. Free text.  | 
                    string | 
                             None.  | 
                
| Sequence | 
                         The order this email should appear in the list of emails associated with this account  | 
                    integer | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "EmailAddress": "sample string 1",
  "EmailStatements": true,
  "EmailType": "sample string 3",
  "Sequence": 4
}
        application/xml, text/xml
            Sample:
        <EmailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <EmailAddress>sample string 1</EmailAddress> <EmailStatements>true</EmailStatements> <EmailType>sample string 3</EmailType> <Sequence>4</Sequence> </EmailDto>
application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Resource Description
A boolean indicating success
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
            Sample:
                    
Sample not available.