cURL
curl --request POST \ --url https://api.timbal.ai/orgs/{org_id}/projects/{project_id}/vars \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "type": "plain", "value": "<string>", "description": "<string>", "env_ids": [ 123 ] } '
Create a new variable
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
plain
secret
Variable created successfully