---
title: "Update a lockup record"
method: PATCH
path: "/v1/invest/funds/{fundId}/lockups/{id}"
tags: ["Invest"]
---

# Update a lockup record

`PATCH /v1/invest/funds/{fundId}/lockups/{id}`

## Request

- Base URL: `https://api.prod.keyban.io`
- URL: `https://api.prod.keyban.io/v1/invest/funds/{fundId}/lockups/{id}`
- Auth: API key in header `X-Api-Key`

Update the end date of a custom lockup period.

## Path parameters

- `fundId` string, uuid, required
- `id` string, uuid, required

## Request body

- UpdateInvestLockupDto
  - `endDate` string, date: End date of the custom lockup period

## Response `200`

Lockup record updated successfully

- InvestLockupDto
  - `id` string, uuid, required: Entity UUID
  - `createdAt` string, date-time, required: Creation date (ISO 8601)
  - `updatedAt` string, date-time, required: Last update date (ISO 8601)
  - `fund` string, uuid, required: The unique identifier of the investment fund
  - `identity` object, required
    - `firstName` string, required: First name of the investor
    - `lastName` string, required: Last name of the investor
    - `status` 'WAITING_KYC' | 'KYC_DONE' | 'REJECTED_KYC': KYC lifecycle status of the identity
    - `id` string, uuid, required: Entity UUID
    - `createdAt` string, date-time, required: Creation date (ISO 8601)
    - `updatedAt` string, date-time, required: Last update date (ISO 8601)
  - `endDate` string, date, required: End date of the custom lockup period

## Other responses

- `400`: Invalid input data

---

[API](https://skmtc.dev/keyban/apis/keyban-rest-apis.md) · [All operations](https://skmtc.dev/keyban/apis/keyban-rest-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/keyban/apis/keyban-rest-apis/revisions/0bb79a1da961?raw)
