Skip to main content
Promote a schema from draft to live mode. Requires a schema slug as a positional argument. Once committed, the schema changes become active immediately.
You do not need to run this command separately if you already used the --commit=true flag with the schema push command.

Syntax

suprsend schema commit <schema-slug> [flags]
Arguments:
  • <schema-slug> - Slug of the schema to commit (required)

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
-m, --commit-message stringMessage describing the changes being committed

Example

# Commit a schema in staging workspace to live status
suprsend schema commit my-schema

# Commit schema in production workspace with commit message
suprsend schema commit notification-schema --workspace production --commit-message "Commit message"