---
title: "Create a new RBAC User"
method: POST
path: "/{workspace}/rbac/users"
tags: ["RBACUsers"]
---

# Create a new RBAC User

`POST /{workspace}/rbac/users`

Create a new RBAC User

## Path parameters

- `workspace` string, required

## Request body

- RBACUser
  - `comment` string, nullable — Any comments associated with the user.
  - `created_at` integer, nullable — Unix epoch when the resource was created.
  - `enabled` boolean, nullable — Wether or not the user has RBAC enabled.
  - `id` string, nullable — A string representing a UUID (universally unique identifier).
  - `name` string, nullable, required — The name of the user.
  - `updated_at` integer, nullable — Unix epoch when the resource was last updated.
  - `user_token` string, nullable, required
  - `user_token_ident` string, nullable — The user token.

## Response `201`

Successfully created RBAC User

- RBACUser
  - `comment` string, nullable — Any comments associated with the user.
  - `created_at` integer, nullable — Unix epoch when the resource was created.
  - `enabled` boolean, nullable — Wether or not the user has RBAC enabled.
  - `id` string, nullable — A string representing a UUID (universally unique identifier).
  - `name` string, nullable, required — The name of the user.
  - `updated_at` integer, nullable — Unix epoch when the resource was last updated.
  - `user_token` string, nullable, required
  - `user_token_ident` string, nullable — The user token.

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/kong/apis/kong-enterprise-admin-api.md) · [All operations](https://skmtc.net/kong/apis/kong-enterprise-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/kong-enterprise-admin-api/revisions/28b1f8a59cdc/schema)
