---
title: "manually update the workplace agreement endpoint"
method: POST
path: "/management/v2/employee-data-fix/workplace-agreement/update"
tags: ["Employee Data Fix"]
---

# manually update the workplace agreement endpoint

`POST /management/v2/employee-data-fix/workplace-agreement/update`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/employee-data-fix/workplace-agreement/update`
- Auth: API key in header `OAuth`

manually update the workplace agreement endpoint.

## Request body

- EmployeeDataFixDataUpdateWorkplaceAgreementRequest
  - `workplaces` EmployeeDataFixDataUpdateWorkplaceAgreementWorkplace[]
    - `id` string, int64
    - `oldAgreementId` string, int64
    - `agreementId` string, int64

## Response `200`

A successful response.

- EmployeeDataFixDataUpdateWorkplaceAgreementResponse
  - `success` boolean
  - `updatedCount` string, int64

---

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