diff --git a/internal/cli/apis.go b/internal/cli/apis.go index df916c999..cff67d867 100644 --- a/internal/cli/apis.go +++ b/internal/cli/apis.go @@ -447,11 +447,11 @@ func deleteAPICmd(cli *cli) *cobra.Command { return ansi.ProgressBar("Deleting API(s)", ids, func(_ int, id string) error { if _, err := cli.api.ResourceServer.Read(cmd.Context(), url.PathEscape(id)); err != nil { - return fmt.Errorf("failed to delete API (%s): %w", id, err) + return fmt.Errorf("failed to delete API with ID %q: %w", id, err) } if err := cli.api.ResourceServer.Delete(cmd.Context(), url.PathEscape(id)); err != nil { - return fmt.Errorf("failed to delete API (%s): %w", id, err) + return fmt.Errorf("failed to delete API with ID %q: %w", id, err) } return nil })