---
title: "Resave shifts (Asynchronous)"
method: POST
path: "/management/v2/shifts:resave"
tags: ["Shifts"]
---

# Resave shifts (Asynchronous)

`POST /management/v2/shifts:resave`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/shifts:resave`
- Auth: API key in header `OAuth`

Resaves shifts. This is a asynchronous API that returns the shifts scheduled to be resaved in the response. The operation processes resaves in the background. Currently, it doesn't return the operation status, but this should be updated.

## Request body

- ScheduleShiftResaveRequestData
  - `shifts` ScheduleShiftResaveRequestShift[]
    - `id` integer

## Response `200`

A successful response.

- ScheduleShiftResaveResponse
  - `success` boolean
  - `data` ScheduleShiftResaveResponseData
    - `shifts` ScheduleShiftResaveResponseShift[]
      - `id` integer

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
