---
title: "POST /providers/Microsoft.LabServices/users/{userName}/register"
method: POST
path: "/providers/Microsoft.LabServices/users/{userName}/register"
tags: ["GlobalUsers"]
---

# POST /providers/Microsoft.LabServices/users/{userName}/register

`POST /providers/Microsoft.LabServices/users/{userName}/register`

Register a user to a managed lab

## Path parameters

- `userName` string, required

## Query parameters

- `api-version` string, required

## Request body

- RegisterPayload — Represents payload for Register action.
  - `registrationCode` string — The registration code of the lab.

## Response `200`

OK

## Other responses

- `default` — BadRequest

---

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