Skip to content

Remove --confirm flag for deletes #554

@malinthaprasan

Description

@malinthaprasan

Please select the area the issue is related to

Area/Other (Anything else which does not match above categories)

Please select the aspect the issue is related to

Aspect/UX (User experience, flows, usability, clarity), Aspect/UI (Frontend layouts, components, styling)

Description

I think we don't need a --confirm flag as CLI based deletions are not accedential deletions similar to UIs.

Steps to Reproduce

$ ap gateway api delete --id weather-api-v1.0
Error: required flag(s) "confirm" not set
Usage:
  ap gateway api delete [flags]

Examples:
# Delete an API by ID
ap gateway api delete --id sample-1 --confirm

Flags:
      --confirm     Confirm deletion

Severity Level of the Issue

Severity/Blocker (Core functionality is broken and consumer is blocked. Need immediate attention)

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions