Livestream: Getting Started with MotherDuck and DuckLake - June 26Register Now

Skip to main content

Set user instances

info

This endpoint is used to configure user-specific settings, primarily for setting compute instance types for service accounts. For a complete walkthrough of service account management, see Service Accounts Guide - Step 3.

Username Parameter

When configuring a service account, ensure the username in the path (/v1/users/:username/instances) is the specific username defined when creating the service account.

PUT 

/v1/users/:username/instances

Set user specific config such as instance types

note

Authentication for this endpoint requires an Admin token. This configuration currently applies to instance types and will in the future include read scaling tokens.

Request

Responses

Successful response