Account

Account Create

To create a child Account of a parent account, just post:

post/api/account

Request

  • Base URL
    https://api.lytics.io
  • URL
    https://api.lytics.io/api/account
  • Auth
    API key in header Authorization

Query parameters

account_idstring

Your Lytics account ID.

Request body

namestring
domainstring

Example request

{
  "name": "String content",
  "domain": "yourdomain.com"
}

Response

Created

createdstring
updatedstring
domainstring
emailstring
idstring
namestring
parent_idstring
timezonestring

Example response

{
  "created": "2014-10-30T21:01:06.493Z",
  "updated": "2014-10-30T21:01:06.493Z",
  "domain": "example.lytics.io",
  "email": "notreal@lytics.io",
  "id": "CNakHAobwEeLuUyrKc5AQTif",
  "name": "Lytics Test",
  "parent_id": "CNakHAobwEeLuUyrKc5AQTif",
  "timezone": "America/Los_Angeles"
}

Changes

No recorded changes to this operation across all 1 revision of this API.