---
title: "Update a license entry details"
method: PATCH
path: "/license_updates/{license_id}"
tags: ["Licenses"]
---

# Update a license entry details

`PATCH /license_updates/{license_id}`

This API let’s you to update metadata of a license entry

## Query parameters

- `licenseId` string

## Request body

- LicenseEntryDetailsUpdateRequest — License Entry Details update request
  - `accountId` string, required — The account id for which the license is being updated
  - `effectiveFrom` string, date-time, required — The effective from date of the license entry
  - `metadata` object, required

## Response `200`

Success response

- LicenseUpdateResponse — License update
  - `licenseId` string, required
  - `accountId` string, required
  - `quantity` number, required — Absolute quantity of the license
  - `effectiveFrom` string, date-time, required
  - `metadata` object
  - `createdAt` string, date-time, required

## Other responses

- `400` — Bad request. Please check the response message for failure details.
- `401` — Credential is not valid. Please check the response message for failure details.
- `403` — Credential does not have access to update a license entry.
- `429` — Request throttled. Please check the response message on the failure details.
- `default` — Error response

---

[API](https://skmtc.net/togaihq/apis/togai-apis.md) · [All operations](https://skmtc.net/togaihq/apis/togai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/togaihq/togai-apis/revisions/442f5d8f4aa0/schema)
