version object with the fields which need to be updated. Only field which can be updated is name.version object with all the details related to the created API Version, namely, id, name, api etc.Requires API Key as X-Api-Keyrequest header orapikeyURL query parameter.
curl --location --request PUT 'https://api.getpostman.com/apis//versions/' \
--header 'Content-Type: application/json' \
--data-raw '{
"version": {
"name": "2.0"
}
}'{
"version": {
"api": "2b95d07c-8379-4bd1-924f-e7e1af185284",
"createdAt": "2019-07-26T11:24:15.000Z",
"createdBy": "12",
"id": "d71cf403-c549-4c7c-9dc6-a6a105acf67c",
"name": "2.0",
"updatedAt": "2019-08-09T09:27:36.000Z",
"updatedBy": "5665"
}
}