Environment Variables

Create environment variable

post/v1/vaults/{vault_id}/env-vars

Request

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

Path parameters

vault_idstring uuid required

Request body

keystring required

Uppercase alphanumeric + underscore, 1-256 chars

valuestring required
environmentsstring[]
git_branchstring

Branch override (preview only)

sensitiveboolean
commentstring

Response

Environment variable created

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 2 revisions of this API.