Asset
Update an asset
Updates an asset.
patch/asset/{id}
Path parameters
idinteger required
The ID of the asset to update.
Request body
Example request
{
"metadata": {
"key": "value"
}
}Response
The asset was updated
Example response
{
"id": 123,
"name": "My Asset",
"build_id": 345,
"type": "docker-image",
"platform": "arm_64",
"url": "https://example.com/my-asset.jpg",
"nrn": "organization=1:account=2:namespace=4:application=4:build=345:asset=123",
"branch": "main",
"commit": {
"id": 234,
"permalink": "https://example.com/1234"
}
}