> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# savedEmailSectionArchive

> Archive a saved section. Emails that already use it still show it, but it can't be edited or inserted, and its name stays taken. It can't be unarchived. Archiving an archived section changes nothing. Returns null if no owned section matches the id.

**Required scopes:** [`marketing_templates_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-marketing_templates_write)

**Store must have one of:** `EMAIL_SMS`, `HSA`, `ORDER_TRACKING`, `RETURNS`, `TNPL`, `REVIEWS`

## Arguments

**id** `ID!` *required*

The section's `id` or `legacyId`.

## Returns

**savedEmailSectionArchive** `[SavedEmailSection](/docs/api-reference/v3/reference/marketing/saved-email-section)`

A named group of email blocks a store reuses across emails. Emails refer to it, so an edit changes every email that uses it.

**fields**

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the section was created.

**id** `ID!` *required*

The id of this saved section.

**legacyId** `String!` *required*

The section's 24-character hex id, as an email's section reference stores it.

**name** `String!` *required*

The merchant-facing name, unique in the store across active and archived sections.

**sections** `[\[EmailTemplateSection!\]](/docs/api-reference/v3/reference/marketing/email-template-section)`

The blocks in this saved section, in order. Null if they can't be read.

**Requires:** [`marketing_templates_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-marketing_templates_read)

**sectionsJson** `[\[JSON!\]](/docs/api-reference/v3/reference/common/json)`

`sections` with every field selected, as JSON: one element per root block, in order, with `__typename` and nested column children. Null if they can't be read. Edits go through operations.

**Requires:** [`marketing_templates_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-marketing_templates_read)

**status** `[SavedEmailSectionStatus!](/docs/api-reference/v3/reference/marketing/saved-email-section-status)` *required*

Whether the section can be used in new emails.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the section was last edited.

## Example

```graphql theme={null}
mutation {
  savedEmailSectionArchive(id: "...") {
    createdAt
    id
    legacyId
    name
    sectionsJson
    status
    updatedAt
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.