> ## 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 (/serviceconfigs/{scid}/hoppers/{hoppername}/tickets/{ticketid})

> DELETE (/serviceconfigs/{scid}/hoppers/{hoppername}/tickets/{ticketid})

# DELETE (/serviceconfigs/{scid}/hoppers/{hoppername}/tickets/{ticketid})

移除配對票證。

> **重要：**\
> 此方法適用於合約 103 或更新版本，且每個要求都需要 X-Xbl-Contract-Version: 103 或更新版本的標頭元素。

* [備註](#ID4ET)
* [URI 參數](#ID4E2)
* [授權](#ID4EGB)
* [HTTP 狀態碼](#ID4EOC)
* [要求本文](#ID4EXC)
* [回應本文](#ID4ECD)

<a id="ID4ET" />

## 備註

此 HTTP/REST 方法會在服務設定識別碼 (SCID) 層級，從具名 hopper 中刪除指定的票證識別碼。此方法可由 **Microsoft.Xbox.Services.Matchmaking.MatchmakingService.DeleteMatchTicketAsync** 包裝。

<a id="ID4E2" />

## URI 參數

\| 參數| 類型| 描述|
\| --- | --- | --- | --- |
\| scid| GUID| 工作階段的服務設定識別碼 (SCID)。|
\| name| string| hopper 的名稱。|
\| ticketId| GUID| 票證識別碼。|

<a id="ID4EGB" />

## 授權

\| 類型| 必要| 描述| 遺漏時的回應|
\| --- | --- | --- | --- | --- | --- | --- | --- |
\| XUID (使用者識別碼)| 是| 提出要求的使用者必須是票證所參考之票證工作階段的成員。| 403|
\| 權限與裝置類型| 是| 當使用者的 deviceType 設定為 console 時，只有在宣告中具有多人遊戲權限的使用者，才能呼叫配對服務。| 403|

<a id="ID4EOC" />

## HTTP 狀態碼

服務會傳回適用於 MPSD 的 HTTP 狀態碼。

<a id="ID4EXC" />

## 要求本文

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

<a id="ID4ECD" />

## 回應本文

回應的本文中不會傳送任何物件。

<a id="ID4EPD" />

## 另請參閱

<a id="ID4ERD" />

##### 上層

[/serviceconfigs/{scid}/hoppers/{hoppername}/tickets/{ticketid}](/zh-TW/reference/live/rest/uri/matchtickets/uri-scidhoppernameticketid)


## Related topics

- [XblMatchmakingDeleteMatchTicketAsync](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakingdeletematchticketasync.md)
- [XblMatchmakingGetMatchTicketDetailsAsync](/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsasync.md)
