Variables
Entity fields:
Path
Type
Description
Example:
{
"data": {
"type": "variable",
"attributes": {
"key": "tag_name",
"value": "HolaMundo",
"sensitive": false,
"hcl": false,
"category": "TERRAFORM",
"description": "Azure RG Tag"
}
}
}Supported Operations
get
Returns an instance of type variable
Path parameters
workspaceIdstringRequired
workspace Identifier
variableIdstringRequired
variable Identifier
Query parameters
Responses
200
Successful response
application/vnd.api+json
get
/workspace/{workspaceId}/variable/{variableId}200
Successful response
post
Creates an item of type variable and adds it to variable
Path parameters
workspaceIdstringRequired
workspace Identifier
Body
Responses
201
Successful response
application/vnd.api+json
post
/workspace/{workspaceId}/variable201
Successful response
delete
Deletes an instance of type vcs
Path parameters
workspaceIdstringRequired
workspace Identifier
vcsIdstringRequired
vcs Identifier
Responses
204
Successful response
delete
/workspace/{workspaceId}/vcs/{vcsId}204
Successful response
No content
patch
Modifies an instance of type vcs
Path parameters
workspaceIdstringRequired
workspace Identifier
vcsIdstringRequired
vcs Identifier
Body
Responses
204
Successful response
patch
/workspace/{workspaceId}/vcs/{vcsId}204
Successful response
No content
Last updated