---
title: "Create user"
method: POST
path: "/v1/users"
tags: ["Redpanda Users"]
---

# Create user

`POST /v1/users`

Create a new user.

## Request body

- CreateUserRequestUser
  - `mechanism` 'SASL_MECHANISM_SCRAM_SHA_256' | 'SASL_MECHANISM_SCRAM_SHA_512' — SASL mechanism to use for authentication.
  - `name` string — Username.
  - `password` string — Password.

## Response `201`

User created

- CreateUserRequestUser
  - `mechanism` 'SASL_MECHANISM_SCRAM_SHA_256' | 'SASL_MECHANISM_SCRAM_SHA_512' — SASL mechanism to use for authentication.
  - `name` string — Username.
  - `password` string — Password.

## Other responses

- `400` — Bad request. Check API documentation and update request.
- `401` — Unauthenticated.
- `500` — Internal Server Error. Reach out to support.
- `default` — An unexpected error response.

---

[API](https://skmtc.dev/redpanda-data/apis/redpanda-cloud-data-plane-api.md) · [All operations](https://skmtc.dev/redpanda-data/apis/redpanda-cloud-data-plane-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/redpanda-data/redpanda-cloud-data-plane-api/revisions/7eef0bcc42e7/schema)
