---
title: "Detach table from study"
method: POST
path: "/tables/detach_from_study"
tags: ["Study Integration"]
---

# Detach table from study

`POST /tables/detach_from_study`

Remove the link between a table and a study. The table and study data are not deleted, only the relationship is removed.

## Request body

- object
  - `db_id` string, required — Database ID (alphanumeric, underscores only, lowercase)
  - `table_id` string, required — Table ID (alphanumeric, underscores only, lowercase)
  - `sid` integer, required — Study ID (internal ID)

## Response `200`

successful operation

- object
  - `status` string
  - `result` boolean — True if detachment was successful

## Other responses

- `400` — Bad request

## Changes

- **2025-12-01** `c9fac12336ea` — 4 info
  - api operation id `tableDettachFromStudy` removed and replaced with `tableDetachFromStudy`
  - api tag `Study Integration` added
  - api tag `Tables` removed
  - added the non-success response with the status `400`
- **2023-12-21** `1451f79c7f04` — 4 info
  - api operation id `tableDetachFromStudy` removed and replaced with `tableDettachFromStudy`
  - api tag `Tables` added
  - api tag `Study Integration` removed
  - removed the non-success response with the status `400`

[Change history](https://skmtc.dev/ihsn/apis/data-tables/changes/tables/detach_from_study/post.md)

---

[API](https://skmtc.dev/ihsn/apis/data-tables.md) · [All operations](https://skmtc.dev/ihsn/apis/data-tables/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ihsn/data-tables/revisions/6fb7730a430d/schema)
