Delete a custom field.
Scopes: custom_fields:write
custom_fields:write
Go
package main import( "context" "os" polargo "github.com/polarsource/polar-go" "log" ) func main() { ctx := context.Background() s := polargo.New( polargo.WithSecurity(os.Getenv("POLAR_ACCESS_TOKEN")), ) res, err := s.CustomFields.Delete(ctx, "<value>") if err != nil { log.Fatal(err) } if res != nil { // handle response } }
{ "error": "<string>", "detail": "<string>" }
Documentation IndexFetch the complete documentation index at: https://polar.sh/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://polar.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
You can generate an Organization Access Token from your organization's settings.
The custom field ID.
Custom field deleted.
Was this page helpful?