Improved
Account ID is now optional: your API key sets the account
about 6 hours ago
Your API key already identifies your account, so you no longer need to send an account ID.
accountIdis now optional onPOST /v1/segments,PUT /v1/segments/{segmentId},GET /v1/segments,POST /v1/usersandGET /v1/user-datasets. Leave it out and the account of your API key is used.- If you send an
accountIdthat belongs to another account, the request now returns403 - A
datasetId(orsite) must be a dataset of your own account on segments, segment preferences, custom tracking domains, lead tags and lead assignment. Otherwise you get403 You do not have access to the given datasetId.
See Do I need an account ID or dataset ID? for where to find your dataset IDs.
