Orgs
Environments

Merges keys into an organization environment's sealed value in place: the named keys are added, overwritten, or removed, and every other key keeps its current value. setSecretRefs points variables at org secrets; a variable in setEntries becomes plain, and one in removeKeys is removed whether plain or a reference. The value is re-sealed server-side and never returned. Use PUT to replace the whole value at once.

patch/v1/orgs/{orgId}/environments/{id}

Request

  • Base URL: https://api.tessl.io
  • URL: https://api.tessl.io/v1/orgs/{orgId}/environments/{id}
  • Auth: none declared

Path parameters

orgIdstring uuid required
idstring uuid required

Headers

Authorizationstring

Request body

setEntriesobject

Keys to add or overwrite as a KEY=VALUE map. Empty values are rejected; omit a key to leave it unset.

setSecretRefsobject

Variables delivered from org secrets, as a map of variable name to the id of an org secret. A name cannot also carry a plain value.

removeKeysstring[]

Declared keys to remove from the sealed value.

Response

Default Response

Changes

    • info

      added the new optional request property /

    • info

      added the new optional request property

    • info

      added the required property // to the response with the status

    • breaking

      the //// response's property type changed from no type to string for status

    • warning

      added the new agent-retro enum value to the //// response property for the response status

    • info

      removed subschema #1 subschema #2 from the //// response property anyOf list for the response status