## Set Ingest Aliases `client.V1.Customers.SetIngestAliases(ctx, params) error` **post** `/v1/customers/{customer_id}/setIngestAliases` Sets the ingest aliases for a customer. Ingest aliases can be used in the `customer_id` field when sending usage events to Metronome. This call is idempotent. It fully replaces the set of ingest aliases for the given customer. ### Parameters - **params:** `V1CustomerSetIngestAliasesParams` - **CustomerID:** `param.Field[string]` Path param: - **IngestAliases:** `param.Field[[]string]` Body param: ### Example ```go package main import ( "context" "github.com/Metronome-Industries/metronome-go" "github.com/Metronome-Industries/metronome-go/option" ) func main() { client := metronome.NewClient( option.WithBearerToken("My Bearer Token"), ) err := client.V1.Customers.SetIngestAliases(context.TODO(), metronome.V1CustomerSetIngestAliasesParams{ CustomerID: metronome.F("d7abd0cd-4ae9-4db7-8676-e986a4ebd8dc"), IngestAliases: metronome.F([]string{"team@example.com"}), }) if err != nil { panic(err.Error()) } } ```