Skip to content

beamable-sdk / api / playersPutPresenceStatusByPlayerId

Function: playersPutPresenceStatusByPlayerId()

playersPutPresenceStatusByPlayerId(requester, playerId, payload, gamertag?): Promise<HttpResponse<OnlineStatus>>

Defined in: src/__generated__/apis/PlayerApi.ts:74

Parameters

requester

HttpRequester

The HttpRequester type to use for the API request.

playerId

string

The playerId parameter to include in the API request.

payload

SetPresenceStatusRequest

The SetPresenceStatusRequest instance to use for the API request

gamertag?

string

Override the playerId of the requester. This is only necessary when not using a JWT bearer token.

Returns

Promise<HttpResponse<OnlineStatus>>

Remarks

Authentication: This method requires a valid bearer token in the Authorization header.