hosting: "Reset to onboarding" support-only action (#5659)

* Reset to onboarding button

* Lint

* Intl
This commit is contained in:
François-Xavier Talbot
2026-03-25 10:50:31 -04:00
committed by GitHub
parent d2abeb434c
commit 7b3471944d
3 changed files with 120 additions and 0 deletions

View File

@@ -54,4 +54,16 @@ export class ArchonServersV1Module extends AbstractModule {
method: 'DELETE',
})
}
/**
* Reset a world to onboarding
* POST /v1/servers/:id/worlds/:wid/onboard
*/
public async resetToOnboarding(serverId: string, worldId: string): Promise<void> {
await this.client.request(`/servers/${serverId}/worlds/${worldId}/onboard`, {
api: 'archon',
version: 1,
method: 'POST',
})
}
}