Set Ingest Aliases
Create or update customer ingest aliases
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.
Path Parameters
customer_idstring
formatuuid
Body Parameters
ingest_aliasesarray of string
curl https://api.metronome.com/v1/customers/$CUSTOMER_ID/setIngestAliases \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $METRONOME_BEARER_TOKEN" \
-d '{
"ingest_aliases": [
"[email protected]"
]
}'