info:
  name: Update Collection Dashboard Visibility
  type: http
  seq: 5
http:
  method: PUT
  url: '{{base_url}}/api/collections/{{collection_id}}'
  auth: inherit
runtime:
  scripts:
  - type: tests
    code: "test(\"updates collection successfully\", function() {\n    expect(res.status).to.eql(200);"

docs: |-
  Update collection settings including dashboard visibility.
  
    **Endpoint**: PUT /api/collections/{id
