> ## 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](https://devdocs.xbox.com/zh-CN/reference/live/rest/json/json-presencerecord) 过期。
这些 URI 的域为 `userpresence.xboxlive.com`。

* [URI 参数](#ID4EZ)
* [授权](#ID4EEB)
* [必需的请求标头](#ID4ERD)
* [可选的请求标头](#ID4EVF)
* [请求正文](#ID4EVG)
* [响应正文](#ID4EAH)

## URI 参数

| 参数 | 类型 | 说明 |
| - | - | - |
| xuid | 64 位无符号整数 | 目标用户的 XBOX 用户 ID (XUID)。 |

## 授权

\| 类型 | 是否必需 | 说明 | 缺失时的响应 |
\| --- | --- | --- | --- | --- | --- | --- |
\| XUID | 是 | 调用方的 XBOX 用户 ID (XUID) | 403 Forbidden |
\| titleId | 是 | 标题的 titleId | 403 Forbidden |
\| deviceId | 除 Windows 和 Web 外均需要 | 调用方的 deviceId | 403 Forbidden |
\| deviceType | 除 Web 外均需要 | 调用方的 deviceType | 403 Forbidden |

## 必需的请求标头

\| 标头 | 类型 | 说明 |
\| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
\| 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。 |

## 可选的请求标头

\| 标头 | 类型 | 说明 |
\| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
\| X-RequestedServiceVersion |  | 此请求应指向的 XBOX LIVE 服务的生成名称/编号。仅在验证标头的有效性、身份验证令牌中的声明等的有效性之后,请求才会路由到该服务。默认值:1。 |

## 请求正文

此请求正文中未发送任何对象。

## 响应正文

成功时,返回 HTTP 状态代码且不带响应正文。

出错时(HTTP 4xx 或 5xx),响应正文中会返回相应的错误信息。

## 另请参阅

##### 父主题

[/users/xuid({xuid})/devices/current/titles/current](https://devdocs.xbox.com/zh-CN/reference/live/rest/uri/presence/uri-usersxuiddevicescurrenttitlescurrent)


## Related topics

- [Troubleshooting Xbox Services traffic for PC games](https://devdocs.xbox.com/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
- [Solucionar problemas de tráfego dos serviços Xbox para jogos para PC](https://devdocs.xbox.com/pt-BR/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
- [Solución de problemas del tráfico de los servicios Xbox para juegos de PC](https://devdocs.xbox.com/es/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
- [Résolution des problèmes de trafic des services Xbox pour les jeux PC](https://devdocs.xbox.com/fr/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
- [Dépannage du trafic des services Xbox pour les jeux PC](https://devdocs.xbox.com/fr-CA/build/gdk-and-engines/guides/troubleshoot-xbox-services-traffic.md)
