跳转到主要内容
POST
Unsubscribe From Lobby Resource

授权

X-EntityToken
string
header
必填

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

请求体

application/json

Request to unsubscribe from lobby notifications.

Request to unsubscribe from lobby notifications.

EntityKey
object
必填

The entity which performed the subscription.

PubSubConnectionHandle
string
必填

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

ResourceId
string
必填

The name of the resource to unsubscribe from.

SubscriptionVersion
number
必填

Version number passed for the subscription of this resource.

Type
enum<string>
必填

Subscription type.

可用选项:
LobbyChange,
LobbyInvite
CustomTags
object

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

响应

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
最后修改于 2026年10月6日