Delete an individual
client.Individuals.Delete(ctx, id) error
/individuals/{id}
Soft delete a client profile (marks as deleted but preserves data)
Parameters
id string
Delete an individual
package main
import (
"context"
"github.com/withluminary/go-sdk"
"github.com/withluminary/go-sdk/option"
)
func main() {
client := withluminary.NewClient(
option.WithClientID("My Client ID"),
option.WithClientSecret("My Client Secret"),
)
err := client.Individuals.Delete(context.TODO(), "id")
if err != nil {
panic(err.Error())
}
}