curl --request POST \
--url https://api.example.com/api/database/tables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tableName": "<string>",
"columns": [
{
"name": "<string>",
"type": "string",
"nullable": true,
"unique": true,
"defaultValue": "<string>",
"foreignKey": {
"table": "<string>",
"column": "<string>",
"onDelete": "NO ACTION"
}
}
]
}
'