---
title: "Activate a theme on channels"
method: POST
path: "/appearance/themes/{code}/activate"
tags: ["Admin Appearance: Themes"]
---

# Activate a theme on channels

`POST /appearance/themes/{code}/activate`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/appearance/themes/{code}/activate`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/appearance/themes/:code/activate/post.ts> (a function with typed inputs; its response is checked against the schema)

Points the given channels at the theme. Sections belonging to a channel's previous theme are left in place but stop being drawn — call the impact endpoint first to see what that affects.

## Path parameters

- `code` string, required

## Request body

- object
  - `channelIds` integer[], required

## Response `200`

Theme activated.

## Other responses

- `201`: AdminAppearanceThemeActivate resource created
- `400`: Invalid input
- `404`: Theme not found or not installed.
- `422`: Missing or unknown channel IDs.

## Changes

- **2026-08-26** `a34d6835b19b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-admin-api/changes/appearance/themes/:code/activate/post.md)

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
