fbpx
POSThttps://api.spotinst.io/functions/application?accountId={ACCOUNT_ID}

Create a new application.

URL Parameters

Parameter Type Description
ACCOUNT_ID String

Account ID from Spotinst console

Example: act-12345
Request

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

Body Attributes


  • application.name * String
    The application name.
Response - 200

Headers
{
	"Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "count": "1",
  "items": [
    {
      "id": "app-12345",
      "name": "my application name"
    }
  ]
}