Resellers

List Account Types

get

Return a list of all Accounts Types.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

An object which contains response metadata information and a data array of Fields.

application/json
get
/api/v1/customers/types

List Accounts

get

Return a list of all Accounts for the reseller.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Account response object

application/json
get
/api/v1/customers

Create Account

post

Create an Account (sub customer) the supplied object. Do NOT submit an ID. IDs are auto generated and immutable.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
shortnamestringRequired

Shortname of the organization. 5-16 chars max. RFC 3986 characters only.

Example: netography
organizationstringRequired

Name of the organization

Example: Netography, Inc.
typestringRequired

Account Type. See Account Types

Example: customer
trialbooleanOptional

Whether or not this is a trial account

Example: false
retentioninteger · enumRequired

Data retention

Example: 90Possible values:
rollupRetentioninteger · enumRequired

Rollup Data Retention. Should be >= retention.

Example: 180Possible values:
fpsintegerOptional

Optional. Contractual Flows per Second for the account

Example: 10000
usernamestringRequired

Email address of the 1st admin user

Example: [email protected]
given_namestringRequired

First or Given name of the 1st admin user

Example: Skippy
family_namestringRequired

Last or Family name of the 1st admin user

Example: Longbottom
Responses
post
/api/v1/customer

Get Account

get

Fetches a specific Account from the shortname supplied in the path.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
shortnamestringRequired

String identifier of the customer

Responses
200

Account response object

application/json
get
/api/v1/customer/{shortname}

Update Account

put

Update an Account given the provided object. This does not do a diff. You must send the complete object.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
shortnamestringRequired

The shortname of the Account to be updated

Body
organizationstringRequired

Name of the organization

Example: Netography, Inc.
typestringRequired

Account Type. See Account Types

Example: customer
trialbooleanOptional

Whether or not this is a trial account

Example: false
retentioninteger · enumRequired

Data retention

Example: 90Possible values:
rollupRetentioninteger · enumRequired

Rollup Data Retention. Should be >= retention.

Example: 180Possible values:
fpsintegerOptional

Optional. Contractual Flows per Second for the account

Example: 10000
Responses
200

Account response object

application/json
put
/api/v1/customer/{shortname}

Delete Account

delete

Deletes the Account.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
shortnamestringRequired

The shortname of the User to be retrieved

Responses
delete
/api/v1/customer/{shortname}

No content

Last updated