---
title: "Update email"
method: PUT
path: "/v1beta/emails/{id}"
tags: ["Email"]
---

# Update email

`PUT /v1beta/emails/{id}`

## Path parameters

- `id` integer, required

## Request body

- EmailUpdateEmailRequest
  - `fields` EmailFields[]
    - `name` string
    - `value` string
  - `group` string
  - `id` integer
  - `is_active` boolean
  - `is_default` boolean
  - `locale` string[]
  - `name` string
  - `tags` EmailTags[]
    - `key` string
    - `value` string

## Response `200`

A successful response.

- EmailUpdateEmailResponse
  - `code` integer
  - `data` EmailUpdateEmailResponseData
    - `success` boolean
  - `desc` string
  - `maintenance` boolean
  - `warnings` ErrorWarning[]
    - `code` integer
    - `data` string
    - `desc` string

## Other responses

- `default` — (empty)

---

[API](https://skmtc.net/openprovider/apis/rest-api.md) · [All operations](https://skmtc.net/openprovider/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openprovider/rest-api/revisions/55b7a0062507/schema)
