In order to unmap all SDCs from volumes or snapshots, there is a small trick.

Suppose you created a volume as

resource "powerflex_volume" "volume" {
  name                   = "security-footage"
  protection_domain_name = "domain1"
  storage_pool_name      = "pool1"
  size                   = 8
  use_rm_cache           = true
  volume_type            = "ThinProvisioned"
  access_mode            = "ReadWrite"
  sdc_list               = [
    {
        sdc_name = "sdc1"
        limit_iops = 14o
        limit_bw_in_mbps = 20
        access_mode = "ReadWrite"
    }
  ]
}

Now you change your config to

resource "powerflex_volume" "volume" {
  name                   = "security-footage"
  protection_domain_name = "domain1"
  storage_pool_name      = "pool1"
  size                   = 8
  use_rm_cache           = true
  volume_type            = "ThinProvisioned"
  access_mode            = "ReadWrite"
}

Then you would simply get a message saying

No changes. Your infrastructure matches the configuration.

You have to change your configuartion to

resource "powerflex_volume" "volume" {
  name                   = "security-footage"
  protection_domain_name = "domain1"
  storage_pool_name      = "pool1"
  size                   = 8
  use_rm_cache           = true
  volume_type            = "ThinProvisioned"
  access_mode            = "ReadWrite"
  sdc_list               = []
}

Then your last SDC will get unmapped. Happy unmapping!