fbpx
POSThttps://api.spotinst.io/setup/account

Create a Spotinst account.

Attribute Type Description
account.name * String

Provide a name for your account. The account name must contain at least one character that is a-z or A-Z

Example: Acme, Inc.
Request

Headers
{
"Content-Type": "application/json",
"Authorization": "Bearer ${token}"
}
Body
Copied!
Downloaded!
{
  "account": {
    "name": "AccountName"
  }
}
Response - 200

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "64181193-f129-4981-835a-6fcdb1e5e01f",
    "url": "/setup/account",
    "method": "POST",
    "timestamp": "2017-10-17T10:43:42.538Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:setup:account",
    "items": [
      {
        "id": "act-123456",
        "name": "AccountName",
        "organizationId": "606012341234"
      }
    ],
    "count": 1
  }
}