Update Using PUT 4
Updates a Variable with the given id
The ID of the Variable
The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
{
"description": "string",
"name": "My-Name",
"project": "My-Project",
"type": "REGULAR",
"value": "my-value"
}
A human-friendly description.
A human-friendly name used as an identifier in APIs that support this option
The project this entity belongs to.
The type of this Variable. Ex: REGULAR / SECRET / RESTRICTED
The value for this Variable.
'Success' with the updated Variable
{
"_createTimeInMicros": 1568625938000000,
"_createdBy": "exampleuser",
"_link": "/codestream/api/<prefix>/8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
"_updateTimeInMicros": 1568625938000000,
"_updatedBy": "exampleuser",
"createdAt": "2019-09-16 09:25:38.065065+00",
"createdBy": "exampleuser",
"description": "string",
"id": "8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
"name": "My-Name",
"project": "My-Project",
"type": "REGULAR",
"updatedAt": "2019-09-16 09:25:38.065065+00",
"updatedBy": "exampleuser",
"version": "v1"
}
This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
This field is provided for backward compatibility. Contains the same value as the 'createdBy' field
Partial URL that provides details of the resource.
This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
This field is provided for backward compatibility. Contains the same value as the 'updatedBy' field
Date when the entity was created. The date is in ISO 8601 with time zone
The user that created this entity
A human-friendly description.
The id of this resource.
A human-friendly name used as an identifier in APIs that support this option
The project this entity belongs to.
The type of this Variable. Ex: REGULAR / SECRET / RESTRICTED
Date when the entity was last updated. The date is in ISO 8601 with time zone.
The user that last updated this entity
The value for this Variable.
Version of the resource.
Unauthorized Request
Forbidden
Not Found
Server Error