---
title: "Edit the details of a years of service based leave"
method: PUT
path: "/v2/providers/leavePolicies/yearsofservicebasedleave/{yearsOfServiceBasedLeaveId}"
tags: ["Provider leave policy"]
---

# Edit the details of a years of service based leave

`PUT /v2/providers/leavePolicies/yearsofservicebasedleave/{yearsOfServiceBasedLeaveId}`

__Activity name :__ <a href="https://developer.loket.nl/Activities/PutProviderYearsOFServiceBasedLeaveByYearsOfServiceBasedLeaveId" target="_blank">PutProviderYearsOFServiceBasedLeaveByYearsOfServiceBasedLeaveId</a>

Edit the details of a years of service based leave record

## Path parameters

- `yearsOfServiceBasedLeaveId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.net/loket/apis/loket-api.md) · [All operations](https://skmtc.net/loket/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket/loket-api/versions/32d1693f8db8/schema)
