rolling-release

Update the rolling release settings for the project

Changed on

Update (or disable) Rolling Releases for a project. When disabling with the resolve-on-disable feature flag enabled, any active rolling release document is resolved using the disableRolloutAction parameter: "abort" to roll back (default), or "complete" to promote the canary to production. When enabling or updating config, changes only affect the next production deployment and do not alter a rollout that's already in-flight. Note: Enabling Rolling Releases automatically enables skew protection on the project with the default value if it wasn't configured already.

patch/v1/projects/{idOrName}/rolling-release/config

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/projects/{idOrName}/rolling-release/config
  • Auth: HTTP bearer

Path parameters

idOrNamestring required

Project ID or project name (URL-encoded)

Query parameters

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.

Response

OR

Example response

{
  "rollingRelease": {
    "stages": [
      {
        "duration": 600,
        "targetPercentage": 25
      }
    ]
  }
}

Changes

    • info

      added the non-success response with the status

    • warning

      added the new false enum value to the //// response property for the response status

    • warning

      added the new false enum value to the //// response property for the response status

    • warning

      added the new true enum value to the //// response property for the response status

    • warning

      added the new true enum value to the //// response property for the response status