environment

Retrieve custom environments

Changed on

Retrieve custom environments for the project. Must not be named 'Production' or 'Preview'.

get/v9/projects/{idOrName}/custom-environments

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v9/projects/{idOrName}/custom-environments
  • Auth: HTTP bearer

Path parameters

idOrNamestring required

The unique project identifier or the project name

Query parameters

gitBranchstring

Fetch custom environments for a specific git branch

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

Changes