Skip to content

config: missing delete command (especially with branch support) #38

Description

@AndreHeller

Problem

There is no kbagent config delete command to delete a configuration. This is especially needed when working with dev branches — deleting a config in a branch marks it as removed without affecting Main.

Workaround used

Direct Storage API call:

curl -X DELETE \
  -H "X-StorageApi-Token: <token>" \
  "https://connection.keboola.com/v2/storage/branch/{branch_id}/components/{component_id}/configs/{config_id}"

Expected behavior

kbagent config delete --project iterable --component keboola.python-transformation-v2 --config-id 1239541872

With optional --branch flag:

kbagent config delete --project iterable --branch claude --component keboola.python-transformation-v2 --config-id 1239541872

Use case

When cleaning up unused transformations in a dev branch before merging to Main, an AI agent needs to be able to delete configs programmatically without falling back to raw HTTP calls.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions