---
title: "POST /users/facets"
method: POST
path: "/users/facets"
---

# POST /users/facets

`POST /users/facets`

## Request

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

Create a new entry

## Request body `*/*`

- object
  - `key` string, required: Facet name
  - `value` string, required: Facet value
  - `user_id` integer, required: User ID
  - `access` integer: View level ID
  - `locked` boolean: Is the value editable?

## 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)
