Vers API key (VERS_API_KEY) sent as Authorization: Bearer <key>.
Body
application/json
Request body for PUT /env_vars — sets (upserts) one or more environment variables.
Lifecycle model
Environment variables are written to /etc/environment inside a VM once
at boot time via a vsock WriteFile request. They are not live-synced
to running VMs. This is intentional: VMs are ephemeral (create → use →
destroy/branch), so env var changes naturally take effect on the next VM.
The replace flag exists so callers can atomically express "I want exactly
these variables and nothing else" without having to DELETE each stale key
individually. Without it, the only way to remove a variable from future VMs
is a separate DELETE /env_vars/{key} call per key.
vars
object
required
Key-value pairs to set. Keys must be valid shell identifiers
(^[A-Za-z_][A-Za-z0-9_]*$, max 256 chars). Values max 8192 chars.
When replace is false (default): existing keys are overwritten, keys
not mentioned are left untouched (upsert semantics).
When replace is true: all existing variables are deleted first, then
only the provided vars are stored (replace-all semantics).
Show child attributes
replace
boolean
If true, delete all existing variables before writing the new set.
This gives "set exactly these vars" semantics. Default: false (upsert).
Response
Variables after the update
Response body for GET /env_vars and PUT /env_vars.
vars
object
required
All environment variables currently set for the authenticated user.
Show child attributes
⌘I
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Vers","colors":{"primary":"#6E941C","light":"#92BF2D","dark":"#5A7A16"},"logo":{"light":"https://mintcdn.com/vers/mkK48e0NywTcvNla/logo/light.svg?fit=max\u0026auto=format\u0026n=mkK48e0NywTcvNla\u0026q=85\u0026s=ff12a36698b48fb91d4eb18f7edc2af5","dark":"https://mintcdn.com/vers/mkK48e0NywTcvNla/logo/dark.svg?fit=max\u0026auto=format\u0026n=mkK48e0NywTcvNla\u0026q=85\u0026s=8ce12cba7105a922c8907e0c9472c751","href":"https://vers.sh"},"favicon":"https://mintcdn.com/vers/4S_7kY_LFSlU0Uj6/favicon.svg?fit=max\u0026auto=format\u0026n=4S_7kY_LFSlU0Uj6\u0026q=85\u0026s=e3c5bc5db8abb2b66cd06d3e88edb70b","api":{"playground":{"display":"interactive"}},"background":{"color":{"light":"#F6F1EC","dark":"#1B1A1A"}},"navbar":{"links":[{"href":"https://vers.sh/pricing","label":"Pricing"},{"icon":"github","href":"https://github.com/hdresearch","label":"GitHub"},{"icon":"calendar","href":"https://cal.com/tynan-daly/15min","label":"Book a demo"}],"primary":{"type":"button","label":"Dashboard","href":"https://vers.sh"}},"footer":{"socials":{"github":"https://github.com/hdresearch","discord":"https://discord.gg/MFvKgPe3sT"}},"seo":{"metatags":{"og:site_name":"Vers Documentation","og:description":"Branchable Linux microVMs for long-running AI agents, multi-service stacks, and stateful workloads."}},"fonts":{"heading":{"family":"Redaction 35","weight":400},"body":{"family":"Inter"}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"min-light","dark":"min-dark"}},"latex":false},"integrations":{"posthog":{"apiKey":"phc_jpdZOKSKobZHeG3ivn5o6gMeJXxxCRmUB83Y29jIT8e"}},"contextual":{"options":["copy","claude","chatgpt","perplexity"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/hdresearch"},{"anchor":"Support","icon":"envelope","href":"mailto:support@vers.sh"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vers","hasAudioNarration":false,"actualSubdomain":"vers","customDomains":["docs.vers.sh"],"gitSource":{"type":"github","owner":"hdresearch","repo":"chelsea","deployBranch":"next","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0a4fcb1149217b6ca834e4","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"API","count":95},{"language":"default","tag":"Endpoints","count":89},{"language":"default","tag":"Computers","count":29},{"language":"default","tag":"Repositories","count":15},{"language":"default","tag":"Checkpoints","count":11},{"language":"default","tag":"Start","count":10},{"language":"default","tag":"Images","count":10},{"language":"default","tag":"Projects","count":10},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Shell Auth","count":5}]},"assistantConfig":{"deflection":{"enabled":true,"email":"pranav@hdr.is","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user","slug":"/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user","pageMetadata":{"title":"Set (upsert) environment variables for the authenticated user.","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v2/env-vars","href":"/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"min-light","dark":"min-dark"}},"config":{},"pageMetadata":{"title":"Set (upsert) environment variables for the authenticated user.","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v2/env-vars","href":"/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Environment Variables"],"summary":"Set (upsert) environment variables for the authenticated user.","operationId":"set_env_vars","requestBody":"f0c1ae32-d9cf-479c-8c53-5b8aefd2e7c3","responses":{"200":"34107670-fa1e-44e5-860f-49f1ba67452a","400":"2a02f360-3742-4505-a514-3c73238db84c","401":"d6328a79-abeb-422e-a25e-f583436d8574"},"method":"put","type":"path","servers":["59e6df27-6a40-4895-91b0-0457cced944c"],"security":["53a44934-be02-40dd-b821-ac74e5979182"],"path":"/api/v2/env-vars","baseUrlOptions":["https://api.vers.sh"],"title":"Set (upsert) environment variables for the authenticated user.","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Request body for PUT /env_vars — sets (upserts) one or more environment variables.\n\n# Lifecycle model\n\nEnvironment variables are written to `/etc/environment` inside a VM **once\nat boot time** via a vsock `WriteFile` request. They are **not** live-synced\nto running VMs. This is intentional: VMs are ephemeral (create → use →\ndestroy/branch), so env var changes naturally take effect on the next VM.\n\nThe `replace` flag exists so callers can atomically express \"I want exactly\nthese variables and nothing else\" without having to DELETE each stale key\nindividually. Without it, the only way to remove a variable from future VMs\nis a separate `DELETE /env_vars/{key}` call per key.","required":["vars"],"properties":{"vars":{"type":"object","description":"Key-value pairs to set. Keys must be valid shell identifiers\n(`^[A-Za-z_][A-Za-z0-9_]*$`, max 256 chars). Values max 8192 chars.\n\nWhen `replace` is false (default): existing keys are overwritten, keys\nnot mentioned are left untouched (upsert semantics).\n\nWhen `replace` is true: all existing variables are deleted first, then\nonly the provided vars are stored (replace-all semantics).","additionalProperties":{"type":"string","uniqueKey":"vars.additionalProperties","typeLabel":"string"},"propertyNames":{"type":"string"},"isRequired":true,"uniqueKey":"vars","typeLabel":"object"},"replace":{"type":"boolean","description":"If true, delete all existing variables before writing the new set.\nThis gives \"set exactly these vars\" semantics. Default: false (upsert).","uniqueKey":"replace","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"vars":{},"replace":true}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"34107670-fa1e-44e5-860f-49f1ba67452a":{"description":"Variables after the update","content":{"application/json":{"schema":{"type":"object","description":"Response body for GET /env_vars and PUT /env_vars.","required":["vars"],"properties":{"vars":{"type":"object","description":"All environment variables currently set for the authenticated user.","additionalProperties":{"type":"string","uniqueKey":"vars.additionalProperties","typeLabel":"string"},"propertyNames":{"type":"string"},"isRequired":true,"uniqueKey":"vars","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"vars":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"2a02f360-3742-4505-a514-3c73238db84c":{"description":"Validation error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"d6328a79-abeb-422e-a25e-f583436d8574":{"description":"Missing or invalid API key","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"53a44934-be02-40dd-b821-ac74e5979182":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key","description":"Vers API key (`VERS_API_KEY`) sent as `Authorization: Bearer \u003ckey>`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"59e6df27-6a40-4895-91b0-0457cced944c":{"url":"https://api.vers.sh","description":"Vers API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API key","description":"Vers API key (`VERS_API_KEY`) sent as `Authorization: Bearer \u003ckey>`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Vers API key (`VERS_API_KEY`) sent as `Authorization: Bearer \u003ckey>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"vers","siteName":"Vers","title":"Set (upsert) environment variables for the authenticated user. - Vers","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-28T03:51:45.800Z","originalFileLocation":"api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Vers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set (upsert) environment variables for the authenticated user. - Vers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Branchable Linux microVMs for long-running AI agents, multi-service stacks, and stateful workloads.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vers Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vers.mintlify.site/_mintlify/api/og/v2?division=Environment+Variables\u0026amp;title=Set+%28upsert%29+environment+variables+for+the+authenticated+user.\u0026amp;theme=aafb37b1901f0c2881332503\u0026amp;signature=b975b74ecd4ab8fbde0fe9b11084a36e210899ed0420109e726d510fc8b5c311\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Set (upsert) environment variables for the authenticated user. - Vers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Branchable Linux microVMs for long-running AI agents, multi-service stacks, and stateful workloads.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vers.mintlify.site/_mintlify/api/og/v2?division=Environment+Variables\u0026amp;title=Set+%28upsert%29+environment+variables+for+the+authenticated+user.\u0026amp;theme=aafb37b1901f0c2881332503\u0026amp;signature=b975b74ecd4ab8fbde0fe9b11084a36e210899ed0420109e726d510fc8b5c311\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vers/X7P3B5WMIAGQWJgL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6E941C\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vers.sh/#organization\",\"name\":\"Vers\",\"url\":\"https://docs.vers.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vers/mkK48e0NywTcvNla/logo/light.svg?fit=max\u0026auto=format\u0026n=mkK48e0NywTcvNla\u0026q=85\u0026s=ff12a36698b48fb91d4eb18f7edc2af5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vers.sh#website\",\"name\":\"Vers\",\"url\":\"https://docs.vers.sh\",\"publisher\":{\"@id\":\"https://docs.vers.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user#webpage\",\"url\":\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user\",\"name\":\"Set (upsert) environment variables for the authenticated user.\",\"dateModified\":\"2026-11-28T03:51:45.800Z\",\"isPartOf\":{\"@id\":\"https://docs.vers.sh#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.vers.sh/api-reference/branches/branch-one-or-more-computers-from-a-computer-checkpoint-or-tag\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Environment Variables\",\"item\":\"https://docs.vers.sh/api-reference/environment-variables/list-the-authenticated-users-environment-variables\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Set (upsert) environment variables for the authenticated user.\",\"item\":\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user#apireference\",\"headline\":\"Set (upsert) environment variables for the authenticated user.\",\"name\":\"Set (upsert) environment variables for the authenticated user.\",\"url\":\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vers.sh/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user#webpage\"},\"dateModified\":\"2026-11-28T03:51:45.800Z\",\"publisher\":{\"@id\":\"https://docs.vers.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vers.sh#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vers\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Vers\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user.md","siteName":"Vers","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/hdresearch"},{"anchor":"Support","icon":"envelope","href":"mailto:support@vers.sh"}]},"tabs":[{"tab":"Start","pages":[{"title":"Start","href":"/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli-reference/overview"}]},{"tab":"API","groups":[{"group":"Overview","pages":[{"title":"API Overview","href":"/api-reference/overview"}]},{"group":"Endpoints","pages":[{"group":"Branches","pages":[{"title":"Branch one or more computers from a computer, checkpoint, or tag.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/branches","href":"/api-reference/branches/branch-one-or-more-computers-from-a-computer-checkpoint-or-tag"}]},{"group":"Checkpoints","pages":[{"title":"List checkpoint tags in the organization.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/checkpoint-tags","href":"/api-reference/checkpoints/list-checkpoint-tags-in-the-organization"},{"title":"Create a checkpoint tag.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/checkpoint-tags","href":"/api-reference/checkpoints/create-a-checkpoint-tag"},{"title":"Get a checkpoint tag by name.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/checkpoint-tags/{tag_name}","href":"/api-reference/checkpoints/get-a-checkpoint-tag-by-name"},{"title":"Delete a checkpoint tag.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/checkpoint-tags/{tag_name}","href":"/api-reference/checkpoints/delete-a-checkpoint-tag"},{"title":"Update a checkpoint tag.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/checkpoint-tags/{tag_name}","href":"/api-reference/checkpoints/update-a-checkpoint-tag"},{"title":"List checkpoints and commits visible to the caller.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/checkpoints","href":"/api-reference/checkpoints/list-checkpoints-and-commits-visible-to-the-caller"},{"title":"Delete a published checkpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/checkpoints/{checkpoint_id}","href":"/api-reference/checkpoints/delete-a-published-checkpoint"},{"title":"Update a checkpoint's name, description, or visibility.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/checkpoints/{checkpoint_id}","href":"/api-reference/checkpoints/update-a-checkpoints-name-description-or-visibility"},{"title":"Get a checkpoint's ancestor lineage.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/checkpoints/{checkpoint_id}/lineage","href":"/api-reference/checkpoints/get-a-checkpoints-ancestor-lineage"},{"title":"Assign projects to a checkpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/checkpoints/{checkpoint_id}/projects","href":"/api-reference/checkpoints/assign-projects-to-a-checkpoint"},{"title":"List public checkpoints in the catalog.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/public/checkpoints","href":"/api-reference/checkpoints/list-public-checkpoints-in-the-catalog"}]},{"group":"Computers","pages":[{"title":"List one bounded page of durable computers.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/computers","href":"/api-reference/computers/list-one-bounded-page-of-durable-computers"},{"title":"Start one durable computer creation.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers","href":"/api-reference/computers/start-one-durable-computer-creation"},{"title":"Read one computer's durable metadata and current runtime state.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/computers/{computer_id}","href":"/api-reference/computers/read-one-computers-durable-metadata-and-current-runtime-state"},{"title":"Start one durable computer deletion.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/computers/{computer_id}","href":"/api-reference/computers/start-one-durable-computer-deletion"},{"title":"Start one durable whole-computer checkpoint.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers/{computer_id}/checkpoints","href":"/api-reference/computers/start-one-durable-whole-computer-checkpoint"},{"title":"Grow a computer's root disk.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/computers/{computer_id}/disk","href":"/api-reference/computers/grow-a-computers-root-disk"},{"title":"Execute one bounded process inside a computer.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers/{computer_id}/exec","href":"/api-reference/computers/execute-one-bounded-process-inside-a-computer"},{"title":"Execute a process and stream its stdout and stderr.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers/{computer_id}/exec/stream","href":"/api-reference/computers/execute-a-process-and-stream-its-stdout-and-stderr"},{"title":"Reattach to a retained process stream from a cursor.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers/{computer_id}/exec/stream/attach","href":"/api-reference/computers/reattach-to-a-retained-process-stream-from-a-cursor"},{"title":"Read a file from a running computer.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/computers/{computer_id}/files","href":"/api-reference/computers/read-a-file-from-a-running-computer"},{"title":"Write a file into a running computer.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v2/computers/{computer_id}/files","href":"/api-reference/computers/write-a-file-into-a-running-computer"},{"title":"Set whether inactivity-based automatic sleep is disabled for a computer.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/computers/{computer_id}/keep-alive","href":"/api-reference/computers/set-whether-inactivity-based-automatic-sleep-is-disabled-for-a-computer"},{"title":"Replace a computer's complete label set.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v2/computers/{computer_id}/labels","href":"/api-reference/computers/replace-a-computers-complete-label-set"},{"title":"Add or update labels without removing labels omitted from the request.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/computers/{computer_id}/labels","href":"/api-reference/computers/add-or-update-labels-without-removing-labels-omitted-from-the-request"},{"title":"Delete one label from a computer.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/computers/{computer_id}/labels/{label_name}","href":"/api-reference/computers/delete-one-label-from-a-computer"},{"title":"Read retained output from bounded process executions.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/computers/{computer_id}/logs","href":"/api-reference/computers/read-retained-output-from-bounded-process-executions"},{"title":"Assign a computer to a project, or move it to Uncategorized.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/computers/{computer_id}/project","href":"/api-reference/computers/assign-a-computer-to-a-project-or-move-it-to-uncategorized"},{"title":"Increase one resource available to a running computer: RAM or vCPUs.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/computers/{computer_id}/resources","href":"/api-reference/computers/increase-one-resource-available-to-a-running-computer:-ram-or-vcpus"},{"title":"Start the computer's single interactive terminal session.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers/{computer_id}/session","href":"/api-reference/computers/start-the-computers-single-interactive-terminal-session"},{"title":"Stop the computer's running interactive terminal session.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/computers/{computer_id}/session","href":"/api-reference/computers/stop-the-computers-running-interactive-terminal-session"},{"title":"Attach to the computer's running interactive terminal session.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers/{computer_id}/session/attach","href":"/api-reference/computers/attach-to-the-computers-running-interactive-terminal-session"},{"title":"Stream input and resize frames to the current terminal attachment.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers/{computer_id}/session/control","href":"/api-reference/computers/stream-input-and-resize-frames-to-the-current-terminal-attachment"},{"title":"Put a running computer to sleep while preserving its execution state.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers/{computer_id}/sleep","href":"/api-reference/computers/put-a-running-computer-to-sleep-while-preserving-its-execution-state"},{"title":"Return the customer-facing SSH key and port for a running computer.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/computers/{computer_id}/ssh-key","href":"/api-reference/computers/return-the-customer-facing-ssh-key-and-port-for-a-running-computer"},{"title":"Pause or resume a running computer.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/computers/{computer_id}/state","href":"/api-reference/computers/pause-or-resume-a-running-computer"},{"title":"Return an in-guest resource-usage snapshot for a running computer.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/computers/{computer_id}/stats","href":"/api-reference/computers/return-an-in-guest-resource-usage-snapshot-for-a-running-computer"},{"title":"Wake a sleeping computer, preserving its identity and execution state.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/computers/{computer_id}/wake","href":"/api-reference/computers/wake-a-sleeping-computer-preserving-its-identity-and-execution-state"},{"title":"Read a finite retained snapshot of the computer's primary workload output.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/computers/{computer_id}/workload/logs","href":"/api-reference/computers/read-a-finite-retained-snapshot-of-the-computers-primary-workload-output"},{"title":"Follow the computer's primary workload output as bounded resumable NDJSON.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/computers/{computer_id}/workload/logs/follow","href":"/api-reference/computers/follow-the-computers-primary-workload-output-as-bounded-resumable-ndjson"}]},{"group":"Domains","pages":[{"title":"List custom domains, optionally filtered by VM.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/domains","href":"/api-reference/domains/list-custom-domains-optionally-filtered-by-vm"},{"title":"Create a custom domain for a VM.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/domains","href":"/api-reference/domains/create-a-custom-domain-for-a-vm"},{"title":"Fetch a custom domain by ID.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/domains/{domain_id}","href":"/api-reference/domains/fetch-a-custom-domain-by-id"},{"title":"Delete a custom domain.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/domains/{domain_id}","href":"/api-reference/domains/delete-a-custom-domain"}]},{"group":"Environment Variables","pages":[{"title":"List the authenticated user's environment variables.","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/env-vars","href":"/api-reference/environment-variables/list-the-authenticated-users-environment-variables"},{"title":"Set (upsert) environment variables for the authenticated user.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v2/env-vars","href":"/api-reference/environment-variables/set-upsert-environment-variables-for-the-authenticated-user"},{"title":"Delete a single environment variable by key.","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/env-vars/{key}","href":"/api-reference/environment-variables/delete-a-single-environment-variable-by-key"}]},{"group":"Images","pages":[{"title":"Create a presigned upload session for a local OCI image archive.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/image-uploads","href":"/api-reference/images/create-a-presigned-upload-session-for-a-local-oci-image-archive"},{"title":"List tenant OCI images.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/images","href":"/api-reference/images/list-tenant-oci-images"},{"title":"Start an asynchronous OCI image import.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/images","href":"/api-reference/images/start-an-asynchronous-oci-image-import"},{"title":"Look up a tenant OCI image by exact source digest.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/images/by-source","href":"/api-reference/images/look-up-a-tenant-oci-image-by-exact-source-digest"},{"title":"Get a tenant OCI image by ID.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/images/{image_id}","href":"/api-reference/images/get-a-tenant-oci-image-by-id"},{"title":"Delete a tenant OCI image.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/images/{image_id}","href":"/api-reference/images/delete-a-tenant-oci-image"},{"title":"List available system base images.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/registry/base-images","href":"/api-reference/images/list-available-system-base-images"},{"title":"List available kernels.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/registry/kernels","href":"/api-reference/images/list-available-kernels"},{"title":"List available system images.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/system-images","href":"/api-reference/images/list-available-system-images"},{"title":"Get a system image by ID.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/system-images/{image_id}","href":"/api-reference/images/get-a-system-image-by-id"}]},{"group":"Account \u0026 System","pages":[{"title":"Validate the presented API key.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/keys/validate","href":"/api-reference/account-\u0026-system/validate-the-presented-api-key"},{"title":"Health check endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/system/health","href":"/api-reference/account-\u0026-system/health-check-endpoint"},{"title":"Return current VM allocations for the authenticated organization.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/usage","href":"/api-reference/account-\u0026-system/return-current-vm-allocations-for-the-authenticated-organization"},{"title":"Get authenticated user/org info.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/whoami","href":"/api-reference/account-\u0026-system/get-authenticated-userorg-info"}]},{"group":"Operations","pages":[{"title":"Get the current status of a durable operation.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/operations/{operation_id}","href":"/api-reference/operations/get-the-current-status-of-a-durable-operation"},{"title":"Stream progress events for a durable operation.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/operations/{operation_id}/events","href":"/api-reference/operations/stream-progress-events-for-a-durable-operation"}]},{"group":"Projects","pages":[{"title":"List active projects visible to the caller's organization and project grants.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/projects","href":"/api-reference/projects/list-active-projects-visible-to-the-callers-organization-and-project-grants"},{"title":"Create an empty project.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/projects","href":"/api-reference/projects/create-an-empty-project"},{"title":"Read one active project visible to the caller.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/projects/{project_id}","href":"/api-reference/projects/read-one-active-project-visible-to-the-caller"},{"title":"Replace a project's core metadata.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v2/projects/{project_id}","href":"/api-reference/projects/replace-a-projects-core-metadata"},{"title":"Soft-delete an empty project.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/projects/{project_id}","href":"/api-reference/projects/soft-delete-an-empty-project"},{"title":"Review the exact project tree and resources a cascading delete would remove.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/projects/{project_id}/cascade-delete","href":"/api-reference/projects/review-the-exact-project-tree-and-resources-a-cascading-delete-would-remove"},{"title":"Execute a previously reviewed cascading project deletion plan.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/projects/{project_id}/cascade-delete","href":"/api-reference/projects/execute-a-previously-reviewed-cascading-project-deletion-plan"},{"title":"Move a project to a new parent, optionally renaming it atomically.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/projects/{project_id}/move","href":"/api-reference/projects/move-a-project-to-a-new-parent-optionally-renaming-it-atomically"},{"title":"Read a project's private service identities, including sleeping computers.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/projects/{project_id}/network","href":"/api-reference/projects/read-a-projects-private-service-identities-including-sleeping-computers"},{"title":"Restore a project's checkpoint set together on one node.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/projects/{project_id}/restore","href":"/api-reference/projects/restore-a-projects-checkpoint-set-together-on-one-node"}]},{"group":"Repositories","pages":[{"title":"List all public repositories.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/public/repositories","href":"/api-reference/repositories/list-all-public-repositories"},{"title":"Get a public repository by organization and name.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/public/repositories/{org_name}/{repo_name}","href":"/api-reference/repositories/get-a-public-repository-by-organization-and-name"},{"title":"List tags for a public repository.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/public/repositories/{org_name}/{repo_name}/tags","href":"/api-reference/repositories/list-tags-for-a-public-repository"},{"title":"Get a public repository tag by name.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/public/repositories/{org_name}/{repo_name}/tags/{tag_name}","href":"/api-reference/repositories/get-a-public-repository-tag-by-name"},{"title":"List repositories in the caller's organization.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/repositories","href":"/api-reference/repositories/list-repositories-in-the-callers-organization"},{"title":"Create a repository.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/repositories","href":"/api-reference/repositories/create-a-repository"},{"title":"Fork a public repository into the caller's organization.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/repositories/fork","href":"/api-reference/repositories/fork-a-public-repository-into-the-callers-organization"},{"title":"Get a repository by name.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/repositories/{repo_name}","href":"/api-reference/repositories/get-a-repository-by-name"},{"title":"Delete a repository.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/repositories/{repo_name}","href":"/api-reference/repositories/delete-a-repository"},{"title":"List tags for a repository.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/repositories/{repo_name}/tags","href":"/api-reference/repositories/list-tags-for-a-repository"},{"title":"Create a repository-scoped tag.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v2/repositories/{repo_name}/tags","href":"/api-reference/repositories/create-a-repository-scoped-tag"},{"title":"Get a repository tag by name.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v2/repositories/{repo_name}/tags/{tag_name}","href":"/api-reference/repositories/get-a-repository-tag-by-name"},{"title":"Delete a repository tag.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v2/repositories/{repo_name}/tags/{tag_name}","href":"/api-reference/repositories/delete-a-repository-tag"},{"title":"Update a repository tag.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/repositories/{repo_name}/tags/{tag_name}","href":"/api-reference/repositories/update-a-repository-tag"},{"title":"Set repository visibility.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v2/repositories/{repo_name}/visibility","href":"/api-reference/repositories/set-repository-visibility"}]}]},{"group":"Shell Auth","pages":[{"title":null,"href":"/shell-auth/overview"},{"title":null,"href":"/shell-auth/initiate"},{"title":null,"href":"/shell-auth/verify-key"},{"title":null,"href":"/shell-auth/verify-public-key"},{"title":null,"href":"/shell-auth/api-keys"}]}]}]},"basePath":"","title":"Set (upsert) environment variables for the authenticated user. - Vers","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}