It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Intronis Backup
formerly ECHOplatform

Account Creation Controller

  • Last updated on

URI

/v1/accounts

URI Parameters

•             n/a

Methods

POST

POST /v1/accounts

Creates a new account with the given properties. If “subpartner” is passed, the new account is created for this sub-partner.

Scope

accounts_write

Request Body Parameters

  • username (string)
  • password (string)
  • name (string)
  • company (string)
  • street_address (string)
  • street_address2 (string)
  • city (string)
  • state (string)
  • zip (string)
  • country (string) - deprecated
  • country_iso (string)
  • email (string)
  • phone (string)
  • plan_id (int)
  • subpartner (string) – sub-partner’s username (optional)
  • pricing_plan_id(int) – required for package partner

Response Attributes

  • n/a

Example JSON

Request:

POST /v1/accounts HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/json

 

{

  "username": “barracuda”,

  "password": "ps8wEzeT",

  "name": "John Smith",

  "company": "barracuda",

  "street_address": "334 Congress Street",

  "street_address2": "",

  "city": "Boston",

  "state": "MA",

  "zip": "02210",

  "country": "USA",

  "country_iso": "US",

  "email": "jsmith@barracuda.com",

  "phone": "617-948-5300",

  "plan_id": 10,

 "pricing_plan_id": 222

}

Or

{

  "username": “barracuda”,

  "password": "ps8wEzeT",

  "name": "John Smith",

  "company": "barracuda",

  "street_address": "334 Congress Street",

  "street_address2": "",

  "city": "Boston",

  "state": "MA",

  "zip": "02210",

  "country": "USA",

  "country_iso": "US",

  "email": "jsmith@barracuda.com",

  "phone": "617-948-5300",

  "plan_id": 10,

 "subpartner":”barracuda-sub"

 }

or

{

  "username": “barracuda”,

  "password": "ps8wEzeT",

  "name": "John Smith",

  "company": "barracuda",

  "street_address": "334 Congress Street",

  "street_address2": "",

  "city": "Boston",

  "state": "MA",

  "zip": "02210",

  "country": "USA",

  "country_iso": "US",

  "email": "jsmith@barracuda.com",

  "phone": "617-948-5300",

  "plan_id": 10

 }

Response

HTTP/1.1 201 Created

Location: https://api.intronis.com/v1/accounts/barracuda

Example XML

Request:

POST /v1/accounts HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8" ?>

<account>

  <username>barracuda</username>

  <password>ps8wEzeT</password>

  <name>John Smith</name>

  <company>barracuda</company>

  <street_address>334 Congress Street</street_address>

  <street_address2/>

  <city>Boston</city>

  <state>MA</state>

  <zip>02210</zip>

  <country>USA</country>

  <country_iso>US</country_iso>

  <email>jsmith@barracuda.com</email>

  <phone>617-948-5300</phone>

  <plan_id>10</plan_id>

  <pricing_plan_id>222</plan_id>

</account>

Response

HTTP/1.1 201 Created

Location: https://api.intronis.com/v1/accounts/barracuda