Skip to main content

Delete a column

Remove a column and all values stored in it.

DELETE /projects/:projectid/databases/:dbid/tables/:tblid/columns/:colid

Authentication​

Send the project API key in the Authorization header, without a Bearer prefix. Requires databases.schema for the database in the URL.

Request​

tblid and colid are the table and column names.

Destructive operation

Deleting a column removes its data from every row. Check dependent queries and workflows first. This API has no undo operation.

Example​

Use the environment variables from the database overview. Replace example IDs with your own.

curl --include --request DELETE \
--header "Authorization: ${INTELLECTIBLE_PROJECT_API_KEY}" \
"${INTELLECTIBLE_PUBLIC_API_URL}/projects/${INTELLECTIBLE_PROJECT_ID}/databases/${INTELLECTIBLE_DATABASE_ID}/tables/${INTELLECTIBLE_TABLE_ID}/columns/status"

Response​

204 No Content, with no response body.

A missing column is ignored when the table exists. Dependencies can prevent deletion; this endpoint does not request cascading deletion.

See Errors and safe retries for shared failure handling.