Method GetCharactersIndex
- Namespace
- GuildWars2.Hero.Accounts
- Assembly
- GW2SDK.dll
GetCharactersIndex(string?, CancellationToken)
Retrieves all character names that belong to the account associated with the access token. This endpoint is only accessible with a valid access token.
public Task<(HashSet<string> Value, MessageContext Context)> GetCharactersIndex(string? accessToken, CancellationToken cancellationToken = default)
Parameters
accessToken
stringAn API key or subtoken.
cancellationToken
CancellationTokenA token to cancel the request.