The request body contains data with the following structure:
Fields
versionAliases[]
string
Required. The set of version aliases to merge. The alias should be at most 128 characters, and match [a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]. Add the - prefix to an alias means removing that alias from the version. - is NOT counted in the 128 characters. Example: -golden means removing the golden alias from the version.
There is NO ordering in aliases, which means 1) The aliases returned from models.get API might not have the exactly same order from this models.mergeVersionAliases API. 2) Adding and deleting the same alias in the request is not recommended, and the 2 operations will be cancelled out.
Response body
If successful, the response body contains an instance of Model.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: models.mergeVersionAliases\n\n**Full name**: projects.locations.models.mergeVersionAliases\n\nMerges a set of aliases for a Model version. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1beta1``/{name}:mergeVersionAliases` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`name` `string` \nRequired. The name of the model version to merge aliases, with a version id explicitly included.\n\nExample: `projects/{project}/locations/{location}/models/{model}@1234`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `versionAliases[]` `string` \nRequired. The set of version aliases to merge. The alias should be at most 128 characters, and match `[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`. Add the `-` prefix to an alias means removing that alias from the version. `-` is NOT counted in the 128 characters. Example: `-golden` means removing the `golden` alias from the version.\n\nThere is NO ordering in aliases, which means 1) The aliases returned from models.get API might not have the exactly same order from this models.mergeVersionAliases API. 2) Adding and deleting the same alias in the request is not recommended, and the 2 operations will be cancelled out. \n\n### Response body\n\nIf successful, the response body contains an instance of [Model](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.models#Model)."]]