ByteChef LogoByteChef
OpenapiTables

Delete a data table

Drop the table in the requested environment, with all of its rows. The logical table is removed once its last environment is dropped. Irreversible.

DELETE
/workspaces/{workspaceId}/data-tables/{name}

Path Parameters

workspaceId*integer

The id of a workspace.

Formatint64
name*string

The table name.

Header Parameters

X-Environment?string

The environment whose physical table is addressed. PRODUCTION when omitted.

Value in

  • "DEVELOPMENT"
  • "STAGING"
  • "PRODUCTION"

Response Body

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/workspaces/0/data-tables/string"
Empty

How is this guide?