---
title: "add user to workspace (require admin privilege, except for the creator of a fork adding a developer/admin of its parent workspace as a developer of the fork)"
method: POST
path: "/w/{workspace}/workspaces/add_user"
tags: ["workspace"]
---

# add user to workspace (require admin privilege, except for the creator of a fork adding a developer/admin of its parent workspace as a developer of the fork)

`POST /w/{workspace}/workspaces/add_user`

## Path parameters

- `workspace` string, required

## Request body

- object
  - `email` string, required
  - `is_admin` boolean, required
  - `username` string
  - `operator` boolean, required

## Response `200`

status

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/versions/155a35b3caff/schema)
