cURL
curl --request PUT \ --url https://app.getcensus.com/api/v1/workspaces/{workspace_id}/application_variables/{variable_key} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "value": "<string>" } '
{ "status": "updated", "data": { "key": "<string>", "value": "<string>", "secret": true } }
Update the workspace variable value with this key.
Bearer authorization using your Personal Access Token. Generate a new PAT on your user settings page.
ID of the workspace
Key of the variable
The new value for a workspace variable
Successfully updated workspace variable.
The outcome of the update request
updated
"updated"
The key, value, and secret status of a workspace variable
Show child attributes
Keys cannot contain whitespaces
Whether this variable contains secret or sensitive information, like a password. Secret variables can only be used in secret connection credentials.
Was this page helpful?