---
title: "Bulk copy labor model rules from one location to many locations"
method: POST
path: "/v2/labor-model/location/{locationId}/rules:copy"
tags: ["Labor Model Rule"]
---

# Bulk copy labor model rules from one location to many locations

`POST /v2/labor-model/location/{locationId}/rules:copy`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/v2/labor-model/location/{locationId}/rules:copy`
- Auth: API key in header `OAuth`

Bulk copy labor model rules from one location to many locations.

## Path parameters

- `locationId` integer, required

## Request body

- LaborModelRuleCopyToLocationsRequest
  - `override` boolean
  - `locationId` integer
  - `locations` integer[]
  - `laborModelIds` integer[]

## Response `200`

A successful response.

- LaborModelRuleCopyToLocationsResponse
  - `success` boolean

---

[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)
