# Update a From Address

# Update a from address

You can update the default sender name of the from address by updating the from address. You can't update the e-mail address itself, to do that you have to delete it and create a new one.

```http
PUT https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/fromaddresses/{fromAddressID}
```

## PUT Parameters

<table>
	<thead>
		<tr>
			<th>Name</th>
			<th>In</th>
			<th>Description</th>
			<th>Required</th>
			<th>Type</th>
			<th>Example</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>AccountID</td>
			<td>Path</td>
			<td>The account guid</td>
			<td>True</td>
			<td>Guid</td>
			<td>A8C062E4-ECFD-48D0-89B1-A37D2622B7A9</td>
		</tr>
		<tr>
			<td>FromAddressID</td>
			<td>Path</td>
			<td>The from address guid</td>
			<td>True</td>
			<td>Guid</td>
			<td>860AB261-0A7A-470D-B615-F99523A38F4C</td>
		</tr>
		<tr>
			<td>Body</td>
			<td>Body</td>
			<td>The from address to update</td>
			<td>True</td>
			<td>Json object</td>
			<td>See example request</td>
		</tr>
		<tr>
			<td>X-CM-PRODUCTTOKEN</td>
			<td>Header</td>
			<td>Your product token</td>
			<td>True</td>
			<td>Guid</td>
			<td>C24A5029-37DD-4161-9728-F80D8639588E</td>
		</tr>
	</tbody>
</table>

[block:code]
{
  "codes": [
    {
      "code": "{\n\t\"Name\" : \"John Doe\"\n}",
      "language": "json",
      "name": "Example request"
    }
  ]
}
[/block]

## Responses

<table>
	<thead>
		<tr>
			<th>Http status</th>
			<th>Description</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>200</td>
			<td>Successful updated</td>
		</tr>
		<tr>
			<td>400</td>
			<td>Bad request</td>
		</tr>
	</tbody>
</table>

[block:code]
{
  "codes": [
    {
      "code": "{\t\t\t\n\t\t\"ID\": \"860ab261-0a7a-470d-b615-f99523a38f4c\",\n\t\t\"AccountID\": \"a8c062e4-ecfd-48d0-89b1-a37d2622b7a9\",\n\t\t\"Name\": \"John Doe\",\n\t\t\"EmailAddress\": \"john.doe@cm.com\",\n\t\t\"CreatedOn\": \"2017-08-04T11:06:43.826\",\n\t\t\"CreatedOnUtc\": \"2017-08-04T10:06:43.826Z\",\n\t\t\"ModifiedOn\": \"2017-08-04T11:06:43.826\",\n\t\t\"ModifiedOnUtc\": \"2017-08-04T10:06:43.826Z\",\n\t\t\"DeletedOn\": null,\n\t\t\"DeletedOnUtc\": null\n}",
      "language": "json",
      "name": "Example response"
    }
  ]
}
[/block]