---
title: "POST /v1/storages/{storage_id}/alerts/sync"
method: POST
path: "/v1/storages/{storage_id}/alerts/sync"
tags: ["Alerts"]
---

# POST /v1/storages/{storage_id}/alerts/sync

`POST /v1/storages/{storage_id}/alerts/sync`

## Request

- The document declares no server URL.
- Auth: none declared

Sync alerts from storage device

## Path parameters

- `storage_id` string, required

## Request body

- StorageBackendAlertSync
  - `begin_time` integer
  - `end_time` integer: End time(in milliseconds) for alert sync. It is optional. If not provided, alerts are fetched without filtering end time

## Response `200`

Accepted,

## Other responses

- `400`: BadRequest
- `401`: NotAuthorized
- `403`: Forbidden
- `409`: An item already exists
- `500`: An unexpected error occurred.

## Changes

- **2020-09-08** `4362f9858de1`: 1 info
  - endpoint added
- **2020-06-22** `0fdcb8a77d6a`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/changes/v1/storages/:storage_id/alerts/sync/post.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api.md) - [All operations](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/revisions/b2017613d719?raw)
