cURL
curl --request PATCH \ --url https://api.example.com/variables/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "variable": { "value": "<string>" } } '
{ "variable": { "id": "kSuB9Gf6aD4", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "type": "ENV", "value": "<string>", "name": "<string>" } }
Enter 'Bearer' followed by a space and your token (e.g., 'Bearer ${HASMCP_ACCESS_TOKEN}').
Variable ID
Show child attributes
Variable updated