curl --request POST \
--url http://127.0.0.1:3000/api/base/duplicate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fromBaseId": "<string>",
"spaceId": "<string>",
"withRecords": true,
"name": "<string>",
"baseId": "<string>"
}
'