POST
/
orgs
curl --request POST \
  --url https://api.axiom.co/v2/orgs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "externalPlan": {
    "endingBefore": "2023-11-07T05:31:56Z",
    "nextBillingDate": "2023-11-07T05:31:56Z",
    "planID": "<string>",
    "planInstanceID": "<string>",
    "startingOn": "2023-11-07T05:31:56Z",
    "state": "active",
    "trialEndingBefore": "2023-11-07T05:31:56Z",
    "trialed": true
  },
  "firstFailedPayment": "<string>",
  "id": "<string>",
  "lastUsageSync": "<string>",
  "license": {
    "apiRateLimitPerSecond": 123,
    "expiresAt": "2023-11-07T05:31:56Z",
    "features": {},
    "id": "<string>",
    "issuedAt": "2023-11-07T05:31:56Z",
    "issuedTo": "<string>",
    "issuer": "<string>",
    "maxAuditWindowSeconds": 123,
    "maxDatasets": 123,
    "maxEndpoints": 123,
    "maxFields": 123,
    "maxMonitors": 123,
    "maxQueryWindowSeconds": 123,
    "maxUsers": 123,
    "monthlyIngestGb": 123,
    "monthlyQueryGbHours": 123,
    "storageAllowanceGB": 123,
    "tier": "personal",
    "validFrom": "2023-11-07T05:31:56Z",
    "withAuths": [
      "<string>"
    ]
  },
  "metaCreated": "<string>",
  "metaModified": "<string>",
  "metaVersion": "<string>",
  "name": "<string>",
  "paymentStatus": "na",
  "plan": "personal",
  "planCreated": "<string>",
  "primaryEmail": "<string>",
  "role": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
name
string
required

Response

200 - application/json
Org
externalPlan
object
required
id
string
required
lastUsageSync
string
required
license
object
required
name
string
required
paymentStatus
enum<string>
required
Available options:
na,
failed,
success,
blocked
plan
enum<string>
required
Available options:
personal,
basicDirect,
teamMonthlyDirect,
teamMonthlyAws,
axiomCloud,
teamPlus,
enterprise,
comped
planCreated
string
required
primaryEmail
string
required
firstFailedPayment
string
metaCreated
string
metaModified
string
metaVersion
string
role
string