vals

Update a environment variable scoped to this project.

put/v2/vals/{val_id}/environment_variables/{key}

Path parameters

val_idstring uuid required

Id of a val

keystring required

Request body

valuestring required

Value of the environment variable.

descriptionstring nullable

Optional description of the environment variable. Send null to clear an existing description; omit it to leave the description unchanged.

Response

An environment variable

keystring required

Name or key of the environment variable, accessible via Deno.env or process.env

descriptionstring nullable required

Optional description of the environment variable

updatedAtstring date-time nullable required
createdAtstring date-time required

Changes

Changed in 3 of the 46 revisions of this API.213

  • 4d8b6d2e6db3112See the full diff
    • added the pattern ^[A-Za-z_][A-Z0-9a-z_]*$ to the path request parameter key

      request-parameter-pattern-added

    • for the path request parameter key, the maxLength was set to 8192

      request-parameter-max-length-set

    • api operation id valEnvironmentVariablesCreate removed and replaced with valEnvironmentVariablesUpdate

      api-operation-id-removed

    • request property list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • response property updatedAt list-of-types was widened by adding types null to media type application/json of response 201

      response-property-list-of-types-widened

    • endpoint added

      endpoint-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog