Skip to content

beamable-sdk / api / partiesPutPromoteById

Function: partiesPutPromoteById()

partiesPutPromoteById(requester, id, payload, gamertag?): Promise<HttpResponse<Party>>

Defined in: src/__generated__/apis/PartyApi.ts:132

Parameters

requester

HttpRequester

The HttpRequester type to use for the API request.

id

string

Id of the party

payload

PromoteNewLeader

The PromoteNewLeader 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<Party>>

Remarks

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