Skip to content

Commit

Permalink
Merge pull request #144 from sailpoint-oss/mtran/PLTCONN-4903
Browse files Browse the repository at this point in the history
PLTCONN-4903: Remove query param of hard delete type
  • Loading branch information
megan-tran-sp authored Mar 28, 2024
2 parents af27e79 + 416a80c commit 81e5c39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/connector/conn_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import (
"io"
"net/http"

"github.com/spf13/cobra"

"github.com/sailpoint-oss/sailpoint-cli/internal/client"
"github.com/sailpoint-oss/sailpoint-cli/internal/util"
"github.com/spf13/cobra"
)

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

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

0 comments on commit 81e5c39

Please sign in to comment.