# ApprovePipelineExecution Infrastructure Endpoint for approving a pipeline approval step. Endpoint: POST /api/infrastructures/approve Version: 1.0 Security: ## Header parameters: - `Harness-Account` (string, required) Account is the internal customer account ID. ## Request fields (application/json): - `action` (string, required) Enum: "APPROVE", "REJECT" - `approvalID` (string, required) ID of the approval - `message` (string) Message to send with the approval ## Response 400 fields (application/json): - `code` (string) - `details` (object) - `message` (string, required) - `name` (string, required) ## Response 404 fields (application/json): - `code` (string) - `details` (object) - `message` (string, required) - `name` (string, required) ## Response 409 fields (application/json): - `code` (string) - `details` (object) - `message` (string, required) - `name` (string, required) ## Response 500 fields (application/json): - `code` (string) - `details` (object) - `message` (string, required) - `name` (string, required) ## Response 501 fields (application/json): - `code` (string) - `details` (object) - `message` (string, required) - `name` (string, required)