> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Save an email layout

PUT`/workspace/{orgId}/email/layouts/{id}`

Saves a layout: "name" and/or "html", with the "revision" read (409 when stale). The change reaches every email using it, published versions included. Owners and admins.

## Path Parameters

`orgId`

numberrequired

`id`

numberrequired

## Response

200

**cURL**

```bash
curl --request PUT \
  --url 'https://api.workover.io/workspace/{orgId}/email/layouts/{id}'
```

**JavaScript**

```javascript
const options = {
  method: 'PUT'
};

fetch('https://api.workover.io/workspace/{orgId}/email/layouts/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/email/layouts/{id}"

response = requests.put(url)

print(response.text)
```
