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

Create a Spotinst Organization.

Attribute Type Description
organization.name * String

Provide a name for your organization. The organization 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!
{
  "organization": {
    "name": "organizationName"
  }
}
Response - 200

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:setup:organization",
    "items": [
      {
        "organizationId": 12345678,
        "organizationName": "test"
      }
    ],
    "count": 1
  }
}