PUT Riot Geo
https://riot-geo.pas.si.riotgames.com/pas/v1/product/valorant
Get the region for a given ID token and auth token. The ID token and auth token can be obtained from Cookie Reauth
Headers:
-
Authorization: Bearer {auth token}
Other Variables:
-
auth token
Can be obtained locally with the Entitlements Token endpoint or remotely by first using the Auth Cookies endpoint then using the cookies with the Auth Request endpoint
Body:
type RiotGeoBody = {
/** The ID token */
id_token: string;
};
Response:
type RiotGeoResponse = {
token: string;
/** The region IDs for PBE and live servers */
affinities: {
pbe: string;
live: string;
};
};