> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE (/users/xuid({xuid})/devices/current/titles/current)

> DELETE (/users/xuid({xuid})/devices/current/titles/current)

# DELETE (/users/xuid({xuid})/devices/current/titles/current)

移除正在關閉之遊戲的目前狀態，而不必等待 [PresenceRecord](/zh-TW/reference/live/rest/json/json-presencerecord) 到期。
這些 URI 的網域為 `userpresence.xboxlive.com`。

* [URI 參數](#ID4EZ)
* [授權](#ID4EEB)
* [必要的要求標頭](#ID4ERD)
* [選用的要求標頭](#ID4EVF)
* [要求本文](#ID4EVG)
* [回應本文](#ID4EAH)

<a id="ID4EZ" />

## URI 參數

| 參數 | 類型 | 描述 |
| - | - | - |
| xuid | 64 位元不帶正負號的整數 | 目標使用者的 XBOX 使用者識別碼 (XUID)。 |

<a id="ID4EEB" />

## 授權

\| 類型| 必要| 描述| 遺漏時的回應|
\| --- | --- | --- | --- | --- | --- | --- |
\| XUID| 是| 呼叫端的 XBOX 使用者識別碼 (XUID)| 403 Forbidden|
\| titleId| 是| 遊戲的 titleId| 403 Forbidden|
\| deviceId| 除了 Windows 和 Web 以外皆為是| 呼叫端的 deviceId| 403 Forbidden|
\| deviceType| 除了 Web 以外皆為是| 呼叫端的 deviceType| 403 Forbidden|

<a id="ID4ERD" />

## 必要的要求標頭

\| 標頭| 類型| 描述|
\| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
\| Authorization| string| HTTP 驗證的驗證認證。範例值："XBL3.0 x=\<userhash>;\<token>"。|
\| x-xbl-contract-version| string| 此要求應導向之 XBOX LIVE 服務的組建名稱/編號。只有在驗證標頭的有效性、驗證權杖中的宣告等之後，要求才會路由至該服務。範例值：3、vnext。|
\| Content-Type| string| 要求本文的 MIME 類型。範例值：application/json。|
\| Content-Length| string| 要求本文的長度。範例值：312。|
\| Host| string| 伺服器的網域名稱。範例值：presencebeta.xboxlive.com。|

<a id="ID4EVF" />

## 選用的要求標頭

\| 標頭| 類型| 描述|
\| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
\| X-RequestedServiceVersion|  | 此要求應導向之 XBOX LIVE 服務的組建名稱/編號。只有在驗證標頭的有效性、驗證權杖中的宣告等之後，要求才會路由至該服務。預設值：1。|

<a id="ID4EVG" />

## 要求本文

此要求的本文中不會傳送任何物件。

<a id="ID4EAH" />

## 回應本文

成功時，會傳回 HTTP 狀態碼，不含回應本文。

發生錯誤時 (HTTP 4xx 或 5xx)，會在回應本文中傳回適當的錯誤資訊。

<a id="ID4ELH" />

## 另請參閱

<a id="ID4ENH" />

##### 上層

[/users/xuid({xuid})/devices/current/titles/current](/zh-TW/reference/live/rest/uri/presence/uri-usersxuiddevicescurrenttitlescurrent)


## Related topics

- [Troubleshoot XBOX Services traffic on PC](/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
- [Solucionar problemas de tráfego do XBOX Services no PC](/pt-BR/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
- [Solución de problemas del tráfico de los servicios XBOX en PC](/es/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
- [Résoudre les problèmes de trafic des XBOX Services sur PC](/fr/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
- [在 PC 上排查 XBOX 服务流量问题](/zh-CN/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
