This message was deleted.
# automation-api
s
This message was deleted.
l
Ah, that is a gap in our documentation. There is indeed a REST API for creating a stack it is just missing from the docs. I opened a bug so we can backfill the docs. In the meantime, the API is:
Copy code
POST /api/stacks/{organization}/{project}
And here are the types for the payload: https://github.com/pulumi/pulumi/blob/master/sdk/go/common/apitype/stacks.go#L45-L54 A post body along these lines is the minimum:
Copy code
{
  "stackName": "yourStackName"
}
f
Ooo lemme try. Thank you!!
Booyah - it worked
partypus 8bit 1