Manage Variables with the Public API

Here are some examples to help you get started managing your variables using the Public API.

Fetch variables for a service

The query below will fetch all the variables for a service for a specific environment. The response will contain all the variables in a key/value object.

Upsert variable for a service

The mutation below will upsert a new variable for the specified service within the specified environment. You can use this to both create and update variables.

Edit this file on GitHub