# Infrastructure

The infrastructure service for working with infrastructures

## List Infrastructure

 - [GET /api/infrastructures](https://apidocs.harness.io/infrastructure/infrastructure_list.md): Endpoint for listing all infrastructures.

## Abort Infrastructure

 - [POST /api/infrastructures/{executionID}/abort](https://apidocs.harness.io/infrastructure/infrastructure_abort.md): Endpoint for aborting an infrastructure execution.

## Delete Infrastructure

 - [DELETE /api/infrastructures/{id}](https://apidocs.harness.io/infrastructure/infrastructure_delete.md): Endpoint for deleting a specific infrastructure.

## Get Infrastructure

 - [GET /api/infrastructures/{id}](https://apidocs.harness.io/infrastructure/infrastructure_get.md): Endpoint for retrieving a specific infrastructure.

## ListExecutions Infrastructure

 - [GET /api/infrastructures/{id}/executions](https://apidocs.harness.io/infrastructure/infrastructure_listexecutions.md): Endpoint for listing executions for a specific infrastructure.

## ListSpecs Infrastructure

 - [GET /api/infrastructures/{id}/specs](https://apidocs.harness.io/infrastructure/infrastructure_listspecs.md): Endpoint for listing specs for a specific infrastructure.

## ApprovePipelineExecution Infrastructure

 - [POST /api/infrastructures/approve](https://apidocs.harness.io/infrastructure/infrastructure_approvepipelineexecution.md): Endpoint for approving a pipeline approval step.

## Execute Infrastructure

 - [POST /api/infrastructures/execute](https://apidocs.harness.io/infrastructure/infrastructure_execute.md): Endpoint for executing an infrastructure, with the options of either dryrunning this process, or forcing it.

## GetExecution Infrastructure

 - [GET /api/infrastructures/executions/{id}](https://apidocs.harness.io/infrastructure/infrastructure_getexecution.md): Endpoint for retrieving a specific execution for a specific infrastructure.

