# Infrastructures

This contains APIs related to Infrastructure Definitions

## Gets Infrastructure list

 - [GET /ng/api/infrastructures](https://apidocs.harness.io/infrastructures/getinfrastructurelist.md)

## Update an Infrastructure by identifier

 - [PUT /ng/api/infrastructures](https://apidocs.harness.io/infrastructures/updateinfrastructure.md)

## Create an Infrastructure in an Environment

 - [POST /ng/api/infrastructures](https://apidocs.harness.io/infrastructures/createinfrastructure.md)

## Gets an Infrastructure by identifier

 - [GET /ng/api/infrastructures/{infraIdentifier}](https://apidocs.harness.io/infrastructures/getinfrastructure.md)

## Delete an Infrastructure by identifier

 - [DELETE /ng/api/infrastructures/{infraIdentifier}](https://apidocs.harness.io/infrastructures/deleteinfrastructure.md)

## Import and Create Infrastructure from Git Repository

 - [POST /ng/api/infrastructures/import](https://apidocs.harness.io/infrastructures/importinfrastructure.md)

## Move infra YAML from inline to remote

 - [POST /ng/api/infrastructures/move-config/{infraIdentifier}](https://apidocs.harness.io/infrastructures/moveinfraconfigs.md)

## Update git-metadata in remote infrastructure Entity

 - [PUT /ng/api/infrastructures/{infraIdentifier}/update-git-metadata](https://apidocs.harness.io/infrastructures/updateinfrastructuregitdetails.md): Update git-metadata in remote infrastructure and returns the identifier of updated infrastructure

