Update part of a collection

View as Markdown
Updates specific collection information, such as its name, events, or its variables. For more information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html).

Authentication

x-api-keystring
API Key authentication via header

Path parameters

collectionIdstringRequired
The collection's ID.

Request

This endpoint expects an object.
collectionanyOptional

The collection updates to apply. You must pass at least one of the following: info, variable, auth, or events. Unsupported properties are rejected.

Response

Successful Response
collectionobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error