windows-itpro-docs/windows/client-management/mdm/reclaim-seat-from-user.md
2022-08-10 18:08:08 -04:00

1.6 KiB

title, description, ms.reviewer, manager, ms.author, ms.topic, ms.prod, ms.technology, author, ms.date
title description ms.reviewer manager ms.author ms.topic ms.prod ms.technology author ms.date
Reclaim seat from user The Reclaim seat from user operation returns reclaimed seats for a user in the Microsoft Store for Business. aaroncz vinpa article w10 windows vinaypamnani-msft 05/05/2020

Reclaim seat from user

The Reclaim seat from user operation returns reclaimed seats for a user in the Microsoft Store for Business.

Request

Method Request URI
DELETE https://bspmts.mp.microsoft.com/V1/Inventory/{productId}/{skuId}/Seats/{username}

URI parameters

The following parameters may be specified in the request URI.

Parameter Type Description
productId string Required. Product identifier for an application that is used by the Store for Business.
skuId string Required. Product identifier that specifies a specific SKU of an application.
username string Requires UserPrincipalName (UPN). User name of the target user account.

Response

Response body

The response body contains SeatDetails.

Error code Description Retry Data field Details
400 Invalid parameters No Parameter name
Reason: Invalid parameter
Details: String
Invalid can include productId, skuId or userName
404 Not found Item type: Inventory, User, Seat
Values: ProductId/SkuId, UserName,
ProductId/SkuId/UserName
ItemType: Inventory, User, Seat
Values: ProductId/SkuId, UserName, ProductId/SkuId/UserName
409 Conflict Reason: Not online