Skip to content

beamable-sdk / api / leaderboardsPutSwapByObjectId

Function: leaderboardsPutSwapByObjectId()

leaderboardsPutSwapByObjectId(requester, objectId, payload, gamertag?): Promise<HttpResponse<CommonResponse>>

Defined in: src/__generated__/apis/LeaderboardsApi.ts:543

Parameters

requester

HttpRequester

The HttpRequester type to use for the API request.

objectId

string

Gamertag of the player.

payload

LeaderboardSwapRequest

The LeaderboardSwapRequest instance to use for the API request

gamertag?

string

Override the Gamer Tag of the player. This is generally inferred by the auth token.

Returns

Promise<HttpResponse<CommonResponse>>

Remarks

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