Skip to content

Commit 81e5c39

Browse files
Merge pull request #144 from sailpoint-oss/mtran/PLTCONN-4903
PLTCONN-4903: Remove query param of hard delete type
2 parents af27e79 + 416a80c commit 81e5c39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/connector/conn_delete.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import (
66
"io"
77
"net/http"
88

9+
"github.com/spf13/cobra"
10+
911
"github.com/sailpoint-oss/sailpoint-cli/internal/client"
1012
"github.com/sailpoint-oss/sailpoint-cli/internal/util"
11-
"github.com/spf13/cobra"
1213
)
1314

1415
func newConnDeleteCmd(client client.Client) *cobra.Command {
@@ -21,7 +22,7 @@ func newConnDeleteCmd(client client.Client) *cobra.Command {
2122
connectorRef := cmd.Flags().Lookup("id").Value.String()
2223
endpoint := cmd.Flags().Lookup("conn-endpoint").Value.String()
2324

24-
q := map[string]string{"type": "hard-delete"}
25+
q := map[string]string{}
2526
resp, err := client.Delete(cmd.Context(), util.ResourceUrl(endpoint, connectorRef), q)
2627
if err != nil {
2728
return err

0 commit comments

Comments
 (0)