Skip to content

Creating / updating project environment variables using createProjectEnv in custom environment #143

@reck753

Description

@reck753

Hi all, I am trying to upsert an environment variable in a project but I am having difficulties to find a way how to do it for a specific custom environment.

createProjectEnv supports target field in requestBody but it is limited only to built-in environments production, preview and development and it will fail with Zod validation error if anything else is provided, e.g. staging in my case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions