Skip to content

Delete Rows

DELETE
/api/workbooks/{workbook_id}/rows
curl --request DELETE \
--url http://localhost:8000/api/workbooks/example/rows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "row_ids": [ 1 ] }'

Delete rows from a workbook.

workbook_id
required
Workbook Id
string
x-workspace-id
Any of:
string
Media typeapplication/json
DeleteRowsRequest

Delete rows from a workbook.

object
row_ids
required
Row Ids

Row IDs to delete

Array<integer>
>= 1 items
Examplegenerated
{
"row_ids": [
1
]
}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}