datasources delete
Deletes a datasource from a Storyblok space by name or ID. Asks for confirmation before deleting.
storyblok datasources delete [arguments] [flags]Arguments
Section titled “Arguments”| Argument | Type | Description |
|---|---|---|
| Datasource name | string | Required. The name of a single datasource to delete. Note that the actual name (including upper/lower case) is used, as opposed to the slug. |
| Flag | Type | Description |
|---|---|---|
--space |
integer | Required. The ID of the Storyblok space to delete the datasource from. |
--id |
integer | Optional. The ID of the Storyblok datasource to delete. If provided, the datasource ID takes priority over the datasource name. |
Examples
Section titled “Examples”The following examples assume that a space has been defined in a configuration file.
# Delete a datasource by namestoryblok datasources delete colors# Delete a datasource by IDstoryblok datasources delete --id 140731465546051Thanks! We received your feedback.
An error occurred. Please try again.
Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community