Update part of a collection

PATCH {{baseUrl}}/collections/{{collectionId}}

Updates specific collection information, such as its name, events, or its variables. For more information about the auth, variables, and events properties, refer to the [Qodex Collection Format documentation]

  • For variables, refer to the Variable List entry.

  • For auth, refer to the Auth entry.

  • For events, refer to the Event List entry.

Request Body

{"collection"=>{"info"=>{"name"=>"{{collectionName}}", "description"=>"{{collectionDescription}}"}}}

RESPONSES

status: OK

{"collection":{"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","name":"Test Collection v2","description":"This is a sample collection that makes a request to the Postman Echo service. It returns a list of request headers sent by an HTTP client."}}