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

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

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

Gets the status of long running operation

## Path parameters

- `userName` string, required

## Query parameters

- `api-version` string, required

## Request body

- OperationStatusPayload — Payload to get the status of an operation
  - `operationUrl` string, required — The operation url of long running operation

## Response `200`

OK

- OperationStatusResponse — Status Details of the long running operation for an environment
  - `status` string — status of the long running operation for an environment

## 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)
