action getpostman_update_collection { label: "Update Collection" description: "This endpoint allows you to update an existing collection using the Postman Collection v2 format. For more information about the v2 schema, check the format [here](https://schema.getpostman.com/json/collection/v2.0.0/docs/index.html).\n\nOn successful updation of the collection, the response returns the collection `name`, `id` and `uid`.\n\n> Requires API Key as `X-Api-Key` request header or `apikey` URL query parameter.\n\nNote: Please be careful when trying to update the collection, as the existing collection will be replaced by the request body." provider: getpostman method: PUT path: "/collections/{collection_uid}" encoding: json input: { type: "object" properties: { collection: { type: "object" properties: { info: { type: "object" properties: { _postman_id: { type: "string" } description: { type: "string" } name: { type: "string" } schema: { type: "string" } } } item: { type: "array" items: { type: "object" properties: { item: { type: "array" items: { type: "object" properties: { name: { type: "string" } request: { type: "object" properties: { body: { type: "object" properties: { mode: { type: "object" additionalProperties: true } raw: { type: "object" additionalProperties: true } } } description: { type: "string" } header: { type: "array" items: { type: "object" additionalProperties: true } } method: { type: "string" } url: { type: "string" } } } } } } name: { type: "string" } } } } } } } } output: { type: "object" properties: { collection: { type: "object" properties: { id: { type: "string" } name: { type: "string" } uid: { type: "string" } } } } } }