---
title: "Upload a plugin setting archive"
method: POST
path: "/api/plugin_settings/{id}/archive"
tags: ["Plugin Settings"]
---

# Upload a plugin setting archive

`POST /api/plugin_settings/{id}/archive`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/plugin_settings/{id}/archive`
- Auth: HTTP bearer

## Response `200`

Success

- object
  - `data` PluginSettingArchive
    - `settings_yaml` string: YAML settings file

## Other responses

- `401`: Unauthorized
- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/trmnl/apis/trmnl-api.md) · [All operations](https://skmtc.dev/trmnl/apis/trmnl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trmnl/apis/trmnl-api/revisions/66179e6d663b?raw)
