---
title: "PATCH Farm Anomalies"
method: PATCH
path: "/solar_farms/anomalies"
tags: ["Solar Farms"]
---

# PATCH Farm Anomalies

`PATCH /solar_farms/anomalies`

## Request

- Base URL: `https://api.raptormaps.com/v2`
- URL: `https://api.raptormaps.com/v2/solar_farms/anomalies`
- Auth: HTTP bearer

Update lifecycle status and/or priority of an anomaly or collection of anomalies.

## Query parameters

- `org_id` integer, required

## Request body

- UpdateAnomaly[]
  - `anomaly_id` integer, required
  - `life_cycle_status_id` integer, nullable
  - `priority` integer, nullable

## Response `200`

Successful Response

- AnomalyUpdateResponse
  - `success_count` integer, required
  - `error_count` integer, required
  - `errors` object[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/raptormaps/apis/next-gen-apis.md) - [All operations](https://skmtc.dev/raptormaps/apis/next-gen-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/raptormaps/apis/next-gen-apis/revisions/bc138d1c5182?raw)
