Variables
Update a variable
Update an existing variable.
patch/projects/{project_id}/variables/{name}
Request
- Base URLhttps://eu.phrase.com/control-hub
- Authnone required
- TypeScripthttps://skmtc.dev/phrase/apis/control-hub-service/docs/projects/:project_id/variables/:name/patch.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring required
Project ID
namestring required
name
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
Request body
Example request
{
"name": "MY_VARIABLE",
"value": "Hello World"
}Response
OK
Example response
{
"name": "MY_VARIABLE",
"value": "Hello World",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.