Create environment variable via API

api

#1

Hello,

Can I create a environment variable on a project through the CircleCI api?


#2

You sure can! Check out this doc: https://circleci.com/docs/api/#add-environment-variable


#3

Yeah but does it work? here’s my recent post: Environment variable rest api does not appear to work hopefully I am doing something wrong and can get a tip on what I might be doing wrong?


#4