Is there a way to programmatically create and manage D1 databases? Like for instance, could I have a

Is there a way to programmatically create and manage D1 databases? Like for instance, could I have a worker that creates a new database for a user using an api request?
Was this page helpful?