---
title: "Archive automation"
method: POST
path: "/3.0/automations/{workflow_id}/actions/archive"
tags: ["automations"]
---

# Archive automation

`POST /3.0/automations/{workflow_id}/actions/archive`

## Request

- Base URL: `https://api.mailchimp.com`
- URL: `https://api.mailchimp.com/3.0/automations/{workflow_id}/actions/archive`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://login.mailchimp.com/oauth2/authorize`
    - Token URL: `https://login.mailchimp.com/oauth2/token`
- TypeScript: <https://skmtc.dev/mailchimp/apis/mailchimp-api/docs/3.0/automations/:workflow_id/actions/archive/post.ts> (a function with typed inputs; its response is checked against the schema)

Archiving will permanently end your automation and keep the report data. You’ll be able to replicate your archived automation, but you can’t restart it.

## Path parameters

- `workflow_id` string, required

## Response `204`

Empty Response

## Other responses

- `default`: An error generated by the Mailchimp API.

---

[API](https://skmtc.dev/mailchimp/apis/mailchimp-api.md) - [All operations](https://skmtc.dev/mailchimp/apis/mailchimp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailchimp/apis/mailchimp-api/revisions/53bf4b156855?raw)
