Userstore/Config/Columns/Id
Delete Column
This endpoint deletes a column by ID. Note that deleting the column doesn't result in data deletion - it just results in the data being immediately unavailable. To delete the data stored in the column, you need to trigger the garbage collection process on the column which will remove the data after a configurable retention period.
curl -X DELETE "https://your-tenant-name.tenant.userclouds.com/userstore/config/columns/248df4b7-aa70-47b8-a036-33ac447e668d"
fetch("https://your-tenant-name.tenant.userclouds.com/userstore/config/columns/248df4b7-aa70-47b8-a036-33ac447e668d")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://your-tenant-name.tenant.userclouds.com/userstore/config/columns/248df4b7-aa70-47b8-a036-33ac447e668d"
req, _ := http.NewRequest("DELETE", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://your-tenant-name.tenant.userclouds.com/userstore/config/columns/248df4b7-aa70-47b8-a036-33ac447e668d"
response = requests.request("DELETE", url)
print(response.text)
Empty
Empty
Empty
Empty
Empty