---
title: "Update Pkfk"
method: POST
path: "/api/mappy/session/{session_id}/pkfk"
tags: ["Mappy v2", "Mappy v2"]
---

# Update Pkfk

`POST /api/mappy/session/{session_id}/pkfk`

## Request

- Base URL: `https://api.dataroia.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dataroia.com/api/mappy/session/{session_id}/pkfk`
- Auth: none declared

Permet à l'utilisateur de corriger/valider une détection PK ou FK.
body : {entity_type, column, override_type, target_entity, target_field}

## Path parameters

- `session_id` string, required

## Query parameters

- `token` string, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dataroia/apis/dataroia-api.md) · [All operations](https://skmtc.dev/dataroia/apis/dataroia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataroia/apis/dataroia-api/revisions/e3c92fa296be?raw)
