MotherDuck REST API
The REST API methods are in 'Preview' and may change in the future
To better support scenarios that require some flexibility or dynamic configuration around managing a MotherDuck organization we are exposing an OpenAPI endpoint with some new functionality. At the moment it enables limited management of users and tokens via HTTP without requiring a DuckDB + MotherDuck client to be running.
All of the methods are authenticated using the token of an ADMIN user from your MotherDuck Organization
and passing it via the Authorization
header with a value of Bearer TOKEN
.
If you would like to generate your own OpenAPI client the spec file is located at https://api.motherduck.com/docs/specs
📄️ Create new user
Create user is currently restricted to creating a user with a 'Member' role
📄️ Delete a user
Permanently delete a user and all of their data. THIS CANNOT BE UNDONE
📄️ Invalidate a user access token
Invalidate a user access token
📄️ List a user's access tokens
List a user's access tokens
📄️ Create an access token for a user
Create an access token for a user