Creating & Deleting Analytics Spaces

Intro #

The first you need to do before sending data to TrackZero is to create your data container (Analytics Space), please make sure to read the Concepts & Definitions to fully understand how TrackZero works.

Creating Analytics Spaces #

Request Details
METHOD
POST
URL
https://api.trackzero.io/analyticsSpaces

Header Parameters: #

Key Value Description Data Type Required?
X-API-KEY
Your account API Key, for details on how to create an API Key, please check this document.
string
yes

X-API-VERSION

Target API Version. Do not include or use 1.0
string
no

QueryString Parameters: #

Key Value Description Data Type Required?
analyticsSpaceId
The id of the Analytics Space to create. Notice that this id cannot be changed later.
string
yes

Example Usage #

POST https://api.trackzero.io/analyticsSpaces?analyticsSpaceId=7i3g

Deleting Analytics Spaces #

Request Details
METHOD
DELETE
URL
https://api.trackzero.io/analyticsSpaces

Header Parameters: #

Key Value Description Data Type Required?
X-API-KEY
Your account API Key, for details on how to create an API Key, please check this document.
string
yes

X-API-VERSION

Target API Version. Do not include or use 1.0
string
no

QueryString Parameters: #

Key Value Description Data Type Required?
analyticsSpaceId
The id of the Analytics Space to delete. Notice that operation is permeant and cannot be undone.
string
yes

Example Usage​ #

DELETE https://api.trackzero.io/analyticsSpaces?analyticsSpaceId=7i3g