POST api/User/UpdateEmail
Updates the email of the user
Request Information
URI Parameters
None.
Body Parameters
UpdateEmailRequestName | Description | Type | Additional information |
---|---|---|---|
UserId |
Id of the user |
integer |
None. |
Email of the user |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "Email": "sample string 2" }
application/xml, text/xml
Sample:
<UpdateEmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Expirify.Api.Models.User"> <Email>sample string 2</Email> <UserId>1</UserId> </UpdateEmailRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Updates the email of the user
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.