Skip to content

Update Dataset

PUT
/api/datasets/{dataset_id}
curl --request PUT \
--url http://localhost:8080/api/datasets/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "description": "example", "rows": [ "example" ] }'
dataset_id
required
Dataset Id
string
Media typeapplication/json
DatasetUpdate
object
name
Any of:
string
description
Any of:
string
rows
Any of:
Array
Examplegenerated
{
"name": "example",
"description": "example",
"rows": [
"example"
]
}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

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