Pular para o conteúdo principal
POST
Unsubscribe From Matchmaking Resource

Autorizações

X-EntityToken
string
header
obrigatório

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

Corpo

application/json

Unsubscribe from a Match resource's notifications. For MatchInvite, players are expected to unsubscribe once they can no longer accept invites. For MatchTicketStatusChange, players are expected to unsusbcribe once the ticket has reached a canceled or matched state.

Unsubscribe from a Match resource's notifications. For MatchInvite, players are expected to unsubscribe once they can no longer accept invites. For MatchTicketStatusChange, players are expected to unsusbcribe once the ticket has reached a canceled or matched state.

EntityKey
object
obrigatório

The entity performing the unsubscription. The entity must be authorized to use this connectionHandle.

PubSubConnectionHandle
string
obrigatório

Opaque string, given to a client upon creating a connection with PubSub.

ResourceId
string
obrigatório

The name of the resource to unsubscribe from. It follows the format {queueName}|{ticketId} for MatchTicketStatusChange. For MatchInvite, ResourceId is @me.

SubscriptionVersion
number
obrigatório

Version number for the unsubscription from this resource.

Type
string
obrigatório

Type of the subscription to be canceled.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

Resposta

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Exemplo:
Última modificação em 6 de outubro de 2026