Skip to content

Add --force option to rad resource delete command #11147

@zachcasper

Description

@zachcasper

Overview of feature request

Similar to rad app delete, the rad resource delete command should support a --force option. If a resource is stuck in an Updating or otherwise transient state (e.g., blocked from deletion due to conflicts or operations in progress), users should be able to forcibly remove the resource without waiting for the state to resolve.

This would help users clean up resources that are otherwise difficult to delete due to API response errors (such as 409 Conflict).

Acceptance criteria

  • rad resource delete supports a --force option
  • When resources are in an in-progress or stuck state (e.g., "Updating"), the --force option will attempt to delete immediately
  • Proper error messaging and warnings are shown when force deleting
  • Documentation is updated to describe the new option

Additional context

Related: #3972

This is analogous to force delete options in other CLI tools that help users clean up stuck resources.

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