Skip to content

Add a new Terraform state or update an existing one

POST
/api/v4/projects/{id}/terraform/state/{name}

Add a new Terraform state or update an existing one

id
required
One of:
string

The ID or URL-encoded path of the project

name
required
string

The name of a Terraform state

Media type multipart/form-data
object
file
required

The package file to be published (generated by Multipart middleware)

string format: binary
nullable

OK

No data provided

Bad Request

Forbidden

Not Found

Request Entity Too Large

Validation failure