Skip to main content

diagrid call state delete

Delete a state item

Description

Delete a state item using an existing state component

diagrid call state delete <key> [flags]

Examples


# Delete a state item from an existing state component
diagrid call state delete mystatekey --component my-state-store --app-id my-appid

Options

  -a, --app-id string      [Required]: App ID used to delete state
-c, --component string [Required]: Component name for target state store
-p, --project string Name of existing project
-o, --output string Output format, supported [table, yaml, json] (default "table")
-v, --verbose Include verbose output such as curl command and response body
-h, --help help for delete

Options inherited from parent commands

      --api-key string   Diagrid Cloud API key

SEE ALSO