---
title: "POST /themes"
method: POST
path: "/themes"
---

# POST /themes

`POST /themes`

## Request

- Base URL: `https://www.rcac.purdue.edu/api`
- URL: `https://www.rcac.purdue.edu/api/themes`
- Auth: none declared
- TypeScript: <https://skmtc.dev/purdue/apis/rcac-api/docs/themes/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new entry

## Request body `*/*`

- object
  - `name` string, required: Theme name
  - `element` string, required: Theme directory name
  - `enabled` integer: Is the theme enabled?
  - `client_id` integer: Client (admin = 1|site = 0) ID

## Response `201`

Successful entry creation

## Other responses

- `409`: Invalid data

---

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