all or project. Reading and diffing needs read. Changing or revealing a value needs read_write.
List responses never include secret values. A secret row has value: "" and masked: true. Non-secret values are returned as stored.
Variable body
Endpoints
Compare before pushing
The diff never returns values. It returns a 12-character hash of each side so you can tell them apart.status is same, changed, missing_remote, or missing_local. scope is app for project variables and global for global ones.
Push variables
data echoes the variables that were applied, values included, so don’t log it. Invalid keys fail the whole request with 400.
Reveal one value
409.
