OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Delete onboarding draft for active organization
Goal
Clear draft after completion or if user wants to restart
Context
Called after successful onboarding or explicit user reset
Source Definition
export const DeleteOnboardingDraftBaseSpec = defineCommand({
meta: {
key: 'base.onboarding.deleteDraft',
version: '1.0.0',
stability: StabilityEnum.Beta,
owners: [OwnersEnum.PlatformSigil],
tags: ['onboarding', 'draft'],
description: 'Delete onboarding draft for active organization',
goal: 'Clear draft after completion or if user wants to restart',
context: 'Called after successful onboarding or explicit user reset',
},
io: {
input: null,
output: DeleteOnboardingDraftOutput,
},
policy: {
auth: 'user',
escalate: null,
},
transport: {
gql: { field: 'deleteOnboardingDraft' },
rest: { method: 'POST' },
},
});