# ForceState Instance Endpoint for forcing a specific instance to a specific state. Endpoint: POST /api/instances/{instanceID}/force-state Version: 1.0 Security: ## Query parameters: - `orgIdentifier` (string) Org is the organization identifier. - `projectIdentifier` (string) Project is the project identifier. ## Path parameters: - `instanceID` (string, required) ID of the instance to force status for ## Header parameters: - `Harness-Account` (string, required) Account is the internal customer account ID. ## Request fields (application/json): - `infrastructureID` (string, required) ID of the infrastructure - `state` (object) ## 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)