Skip to content

beamable-sdk / api / accountsPutAdminScopeByObjectId

Function: accountsPutAdminScopeByObjectId()

accountsPutAdminScopeByObjectId(requester, objectId, payload, gamertag?): Promise<HttpResponse<EmptyResponse>>

Defined in: src/__generated__/apis/AccountsApi.ts:683

Parameters

requester

HttpRequester

The HttpRequester type to use for the API request.

objectId

AccountId of the player.Underlying objectId type is integer in format int64.

string | bigint

payload

UpdateRole

The UpdateRole 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<EmptyResponse>>

Remarks

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