---
title: "Set User Admin Role"
method: POST
path: "/api/admin/users/{user_id}/set-admin-role"
tags: ["admin"]
---

# Set User Admin Role

`POST /api/admin/users/{user_id}/set-admin-role`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/admin/users/{user_id}/set-admin-role`
- Auth: HTTP bearer

Set admin role for a user.
Requires super_admin role.

## Path parameters

- `user_id` string, required

## Query parameters

- `role` string, nullable: Role: super_admin, billing_admin, support_admin, or null to remove

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
