Logo
30 Day Challange API Documentation

Update an API version

PUT https://api.getpostman.com/apis/{{apiId}}/versions/{{apiVersionId}}

This endpoint is deprecated in Qodex v10 and higher.

Updates an API version. Include the following request body properties in the version object:

  • name — A string that contains the API version's name.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK

{ "version": { "createdAt": "2022-08-02T13:28:05.000Z", "updatedAt": "2022-08-02T13:35:32.000Z", "id": "a9879d02-74bf-425a-bbec-6d27aa135507", "name": "v1.0", "summary": null, "stage": "Planning", "visibility": "public", "createdBy": "12345678", "updatedBy": "12345678", "api": "387c2863-6ee3-4a56-8210-225f774edade" } }



Curl
curl -X PUT 'https://api.getpostman.com/apis/undefined/versions/undefined' -H 'Content-Type: application/json' -d '{"version":{"name":"undefined"}}'

ENDPOINTS