# Edit an existing collection

This API endpoint allows you to edit an existing collection.

Endpoint: PUT /v1/org/units
Version: 1.0
Security: x-api-key

## Request fields (application/json):

  - `id` (string)
    The reference ID of the collection to be edited

  - `name` (string,null)
    The new name for the collection

  - `ou_category_id` (string,null)
    The ID of the category to which the collection belongs

  - `parent_ref_id` (string,null)
    The reference ID of the parent collection

  - `sections` (array)

  - `sections.id` (string)
    A randomly generated UUID for the section

  - `sections.integrations` (object)

## Response 200 fields (application/json):

  - `errors` (array)

  - `success` (array)


