PUT https://api.getpostman.com/apis/{{apiId}}/versions/{{apiVersionId}}
This call updates an existing API Version. Request body should contain a Response contains a Requires API Key as 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.
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status OK
{
"version": {
"id": "d71cf403-c549-4c7c-9dc6-a6a105acf67c",
"name": "2.0",
"createdAt": "2019-07-26T11:24:15.000Z",
"updatedAt": "2019-08-09T09:27:36.000Z",
"api": "2b95d07c-8379-4bd1-924f-e7e1af185284",
"createdBy": "12",
"updatedBy": "5665"
}
} |
ENDPOINTS