Environment Variables

Update environment variable

patch/v1/vaults/{vault_id}/env-vars/{key}

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/vaults/{vault_id}/env-vars/{key}
  • Auth: HTTP bearer

Path parameters

vault_idstring uuid required
keystring required

Query parameters

environmentstring

Request body

valuestring
environmentsstring[]
sensitiveboolean
commentstring

Response

Environment variable updated

idstring uuid
keystring
environmentsstring[]
git_branchstring nullable
sensitiveboolean
commentstring nullable
valuestring nullable

Null for sensitive vars in list responses

versioninteger
created_bystring nullable
created_atstring date-time
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.