-
-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API to drop a table #1874
Labels
Milestone
Comments
2 tasks
Found a bug: you get a 500 error if you try this against an immutable database. |
simonw
added a commit
that referenced
this issue
Nov 14, 2022
I also changed the confirmation JSON returned by this endpoint to add the {
"ok": true,
"database": "data",
"table": "docs",
"row_count": 1,
"message": "Pass \"confirm\": true to confirm"
} Updated docs: https://docs.datasette.io/en/1.0-dev/json_api.html#dropping-tables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
POST /db/table/-/drop
Require
drop-table
permission.The text was updated successfully, but these errors were encountered: