---
title: "PATCH /api/graphchain/{chain}/bypk"
method: PATCH
path: "/api/graphchain/{chain}/bypk"
tags: ["Graph Chain APIs"]
---

# PATCH /api/graphchain/{chain}/bypk

`PATCH /api/graphchain/{chain}/bypk`

<b>Allowed user roles:</b><br/><ul><li>sdzUser</li></ul><br/><br/>patch specific elements of the asset by primary key (using pkFields and pkPatchFields.  NOTE: this DOES allow for updating the primary key as well

## Path parameters

- `chain` string, required

## Request body

- PatchAssetRequestPublic
  - `pkFields` object, required
  - `patchFields` object, required
  - `metadata` object

## Response `200`

OK

---

[API](https://skmtc.net/burstiq/apis/lifegraph-apis.md) · [All operations](https://skmtc.net/burstiq/apis/lifegraph-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/burstiq/lifegraph-apis/versions/381306ef1fcd/schema)
