Discard Database Schema Draft
Discards the working-copy draft of a database schema without publishing.
A schema defines a collection's fields, types, and validation. Schemas support drafts, versions, and publishing. Discards the database schema draft.
This action is destructive or irreversible. Make sure you target the right item and confirm before running it.
This method is on the Hub surface (norbix.hub.database) — call it from admin tooling or IaC.
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();
const result = await norbix.hub.database.discardDatabaseSchemaDraft({
id: 'sch_4kX9mQvR2tYw7ZbC1dFgHj',
});using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;
using var client = new NorbixClient();
var result = await client.Database.DiscardDatabaseSchemaDraftAsync(new DiscardDatabaseSchemaDraftRequest
{
Id = "sch_4kX9mQvR2tYw7ZbC1dFgHj",
});from norbix_python import NorbixHub
norbix = NorbixHub()
result = norbix.database.discard_database_schema_draft(
id="sch_4kX9mQvR2tYw7ZbC1dFgHj",
)In the dashboard
Manage this visually in Norbix Cloud — see Database → Schemas.
API reference
Full request and response for this endpoint: Discard Database Schema Draft.
Last updated