refreshSearchIndex abstract method

  1. @POST.new('/admin/search/refresh-index')
Future<RefreshSearchIndexResponse> refreshSearchIndex({
  1. @Body.new() required RefreshSearchIndexRequest body,
})

Refresh search index.

Trigger full or partial search index rebuild. Creates background job to reindex guilds and users. Returns job ID for status tracking. Requires GUILD_LOOKUP permission.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/search/refresh-index')
Future<RefreshSearchIndexResponse> refreshSearchIndex({
  @Body() required RefreshSearchIndexRequest body,
});