Skip to content

Delete a Terraform state version

DELETE
/api/v4/projects/{id}/terraform/state/{name}/versions/{serial}

Delete a Terraform state version

id
required
One of:
string

The ID or URL-encoded path of the project

name
required
string

The name of a Terraform state

serial
required
integer

The version number of the state

No Content

Bad Request

Forbidden

Not found