daemons

Override a project daemon's instance counts

Changed on

Override the instance counts of a daemon in the given regions, without changing its configuration or the overrides of other regions.

put/v1/projects/{idOrName}/daemons/{daemonName}/instances

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/projects/{idOrName}/daemons/{daemonName}/instances
  • Auth: HTTP bearer

Path parameters

idOrNamestring required

The unique project identifier or the project name

daemonNamestring required

The name of the daemon to scale

Query parameters

target'production' | 'preview'

The deployment target for the daemon configuration.

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

object required

Instance count overrides for the given regions, for example { "iad1": 1 }. Overrides of regions not in the map are kept. A null count removes the region's override. An empty map removes all overrides.

Response

The instance count overrides are saved.

okfalse | true required

Changes