mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-25 23:33:35 +00:00
138 lines
2.7 KiB
Markdown
138 lines
2.7 KiB
Markdown
---
|
||
title: Reclaim seat from user
|
||
description: The Reclaim seat from user operation returns reclaimed seats for a user in the Microsoft Store for Business.
|
||
ms.assetid: E2C3C899-D0AD-469A-A319-31A420472A4C
|
||
ms.reviewer:
|
||
manager: dansimp
|
||
ms.author: dansimp
|
||
ms.topic: article
|
||
ms.prod: w10
|
||
ms.technology: windows
|
||
author: manikadhiman
|
||
ms.date: 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
|
||
|
||
<table>
|
||
<colgroup>
|
||
<col width="50%" />
|
||
<col width="50%" />
|
||
</colgroup>
|
||
<thead>
|
||
<tr class="header">
|
||
<th>Method</th>
|
||
<th>Request URI</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr class="odd">
|
||
<td><p>DELETE</p></td>
|
||
<td><p>https://bspmts.mp.microsoft.com/V1/Inventory/{productId}/{skuId}/Seats/{username}</p></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
|
||
### URI parameters
|
||
|
||
The following parameters may be specified in the request URI.
|
||
|
||
<table>
|
||
<colgroup>
|
||
<col width="33%" />
|
||
<col width="33%" />
|
||
<col width="33%" />
|
||
</colgroup>
|
||
<thead>
|
||
<tr class="header">
|
||
<th>Parameter</th>
|
||
<th>Type</th>
|
||
<th>Description</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr class="odd">
|
||
<td><p>productId</p></td>
|
||
<td><p>string</p></td>
|
||
<td><p>Required. Product identifier for an application that is used by the Store for Business.</p></td>
|
||
</tr>
|
||
<tr class="even">
|
||
<td><p>skuId</p></td>
|
||
<td><p>string</p></td>
|
||
<td><p>Required. Product identifier that specifies a specific SKU of an application.</p></td>
|
||
</tr>
|
||
<tr class="odd">
|
||
<td><p>username</p></td>
|
||
<td><p>string</p></td>
|
||
<td><p>Requires UserPrincipalName (UPN). User name of the target user account.</p></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
|
||
## Response
|
||
|
||
### Response body
|
||
|
||
The response body contain [SeatDetails](data-structures-windows-store-for-business.md#seatdetails).
|
||
|
||
<table>
|
||
<colgroup>
|
||
<col width="20%" />
|
||
<col width="20%" />
|
||
<col width="20%" />
|
||
<col width="20%" />
|
||
<col width="20%" />
|
||
</colgroup>
|
||
<thead>
|
||
<tr class="header">
|
||
<th>Error code</th>
|
||
<th>Description</th>
|
||
<th>Retry</th>
|
||
<th>Data field</th>
|
||
<th>Details</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr class="odd">
|
||
<td><p>400</p></td>
|
||
<td><p>Invalid parameters</p></td>
|
||
<td><p>No</p></td>
|
||
<td><p>Parameter name</p>
|
||
<p>Reason: Invalid parameter</p>
|
||
<p>Details: String</p></td>
|
||
<td><p>Invalid can include productId, skuId or userName</p></td>
|
||
</tr>
|
||
<tr class="even">
|
||
<td><p>404</p></td>
|
||
<td><p>Not found</p></td>
|
||
<td></td>
|
||
<td><p>Item type: Inventory, User, Seat</p>
|
||
<p>Values: ProductId/SkuId, UserName, ProductId/SkuId/UserName</p></td>
|
||
<td><p>ItemType: Inventory, User, Seat</p>
|
||
<p>Values: ProductId/SkuId, UserName, ProductId/SkuId/UserName</p></td>
|
||
</tr>
|
||
<tr class="odd">
|
||
<td><p>409</p></td>
|
||
<td><p>Conflict</p></td>
|
||
<td></td>
|
||
<td><p>Reason: Not online</p></td>
|
||
<td></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|