curl --request PATCH \
--url https://api.lunary.ai/v1/datasets/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"slug": "<string>"
}'
{
"id": "<string>",
"slug": "<string>",
"format": "text",
"ownerId": "<string>",
"projectId": "<string>"
}
curl --request PATCH \
--url https://api.lunary.ai/v1/datasets/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"slug": "<string>"
}'
{
"id": "<string>",
"slug": "<string>",
"format": "text",
"ownerId": "<string>",
"projectId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Updated dataset
The response is of type object
.