Teams
Creating an Access Token
Access Tokens can be your API or Personal Tokens managed inside your account setings.
API Token
API Tokens allow access to datasets for either querying data, ingesting data, or both. In your settings menu click on API Tokens and create your API Token

- Learn more about API Tokens
Personal Token
Personal tokens allows you to access the Axiom API programmatically for custom integrations. In your settings menu, click on Profile and select Personal Token.

- Learn more about Personal Tokens
GET /teams
GET /api/v1/teams
Example Request
curl -X 'GET' \'https://cloud.axiom.co/api/v1/teams' \-H 'Authorization: Bearer <$PERSONAL_TOKEN>' \-H 'X-Axiom-Org-ID: <$ORG_ID>'
Example Response
Response sample code 200
and the body
[{"datasets": ["string"],"id": "string","members": ["string"],"name": "string"}]
POST /teams
POST /api/v1/teams
Example Request
curl -X 'POST' \'https://cloud.axiom.co/api/v1/teams' \-H 'Content-Type: application/json' \-H 'Authorization: Bearer <$PERSONAL_TOKEN or $API_TOKEN>' \-H 'X-Axiom-Org-ID: <$ORG_ID>' \-d '{"datasets": ["string"],"members": ["string"],"name": "string"}'
Example Response
Response sample code 200
and the body
{"datasets": ["string"],"id": "string","members": ["string"],"name": "string"}
DELETE /teams/{ID}
DELETE /api/v1/teams/{ID}
Example Request
curl -X 'DELETE' \'https://cloud.axiom.co/api/v1/teams/string' \-H 'Authorization: Bearer <$PERSONAL_TOKEN>' \-H 'X-Axiom-Org-ID: <$ORG_ID>'
Example Response
A successful response will have status code 204
and an empty body.
GET /teams/{ID}
GET /api/v1/teams/{ID}
Exmaple Request
curl -X 'GET' \'https://cloud.axiom.co/api/v1/teams/<string_id>' \-H 'Authorization: Bearer <$PERSONAL_TOKEN>' \-H 'X-Axiom-Org-ID: <$ORG_ID>'
Example Response
Response sample code 200
and the body
{"datasets": ["string"],"id": "string","members": ["string"],"name": "string"}
PUT /teams/{ID}
PUT /api/v1/teams/{ID}
Example Request
curl -X 'PUT' \'https://cloud.axiom.co/api/v1/teams/<string_id>' \-H 'Authorization: Bearer <$PERSONAL_TOKEN>' \-H 'X-Axiom-Org-ID: <$ORG_ID>' \-H 'Content-Type: application/json' \-d '{"datasets": ["string"],"id": "string","members": ["string"],"name": "string"}'
Example Response
Response sample code 200
and the body
{"datasets": ["string"],"id": "string","members": ["string"],"name": "string"}