ducklings

Set user Duckling configuration

Sets Duckling (instance) configuration for a service account or user account. You can set your own configuration with your own token. Other accounts require the corresponding permission, which the Admin and Builder preset roles include for service accounts.

put/v1/users/{username}/instances

Request

  • Base URL: https://api.motherduck.com
  • URL: https://api.motherduck.com/v1/users/{username}/instances
  • Auth: HTTP bearer

Path parameters

usernamestring required

user within the organization

Request body

Example request

{
  "config": {
    "read_write": {
      "instance_size": "standard",
      "cooldown_seconds": 60
    },
    "read_scaling": {
      "instance_size": "standard",
      "flock_size": 1,
      "cooldown_seconds": 60
    }
  }
}

Response

Successful response

Example response

{
  "read_write": {
    "instance_size": "standard",
    "cooldown_seconds": 60
  },
  "read_scaling": {
    "instance_size": "standard",
    "flock_size": 1,
    "cooldown_seconds": 60
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.