Update a variable for a user
Update a user level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Either the UUID of the account surrounded by curly-braces, for example {account UUID}, OR an Atlassian Account ID.
The UUID of the variable.
Request Body required
Section titled “ Request Body required ”The updated variable.
object
The UUID identifying the variable.
The unique name of the variable.
The value of the variable. If the variable is secured, this will be empty.
If true, this variable will be treated as secured. The value will never be exposed in the logs or the REST API.
Example generated
{ "type": "example", "uuid": "example", "key": "example", "value": "example", "secured": true}Responses
Section titled “ Responses ”The variable was updated.
object
The UUID identifying the variable.
The unique name of the variable.
The value of the variable. If the variable is secured, this will be empty.
If true, this variable will be treated as secured. The value will never be exposed in the logs or the REST API.
Example generated
{ "type": "example", "uuid": "example", "key": "example", "value": "example", "secured": true}The account or the variable was not found.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}