Skip to content

Authorize Terraform state upload

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

This feature was introduced in GitLab 18.5

id
required
One of:
string

The ID or URL-encoded path of the project

name
required
string

The name of a Terraform state

OK

Bad Request

Unauthorized

Forbidden

Not Found