---
title: "Add a new user to a cluster"
method: POST
path: "/api/clusters/{clusterName}/users/add"
tags: ["User"]
---

# Add a new user to a cluster

`POST /api/clusters/{clusterName}/users/add`

Adds a new user to the specified cluster if the request is valid and the user has the necessary permissions.

## Path parameters

- `clusterName` string, required

## Headers

- `Authorization` string, required

## Request body

- ClusterUserForm
  - `grants` string
  - `password` string
  - `roles` string
  - `username` string

## Response `200`

User added successfully

- string

## Other responses

- `400` — Error in request
- `403` — No Valid ACL
- `500` — Error adding new user" or "No valid cluster

---

[API](https://skmtc.net/signal18/apis/untitled-api.md) · [All operations](https://skmtc.net/signal18/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signal18/untitled-api/revisions/7465ea0ee21a/schema)
