public async Task <bool> UpdateRealmEventsProviderConfigurationAsync(string realm, RealmEventsConfig rep) { var response = await GetBaseUrl(realm) .AppendPathSegment($"/admin/realms/{realm}/events/config") .PutJsonAsync(rep) .ConfigureAwait(false); return(response.IsSuccessStatusCode); }
public async Task <bool> UpdateAsync(RealmEventsConfig config) { return(await _client.UpdateRealmEventsProviderConfigurationAsync(_context.ConnectionSettings.Realm, config)); }