# Sort site collections

By assigning a sort value to site collection IDs, you can use this endpoint to apply an order by which collections are sorted in the Sites user interface and in Content Editor. The lower the sort value, the higher the site appears in the interface.

Endpoint: POST /api/v1/collections/sort
Version: v1
Security: Bearer

## Request fields (application/json):

  - `collections` (object,null)
    A collection containing collection IDs and sort order.
    Example: {"{E7ACF719-9448-4B82-B9E9-E35E612392B1}":0,"{3BB5127B-9B19-479E-A560-DDAB73050C0D}":100,"{1E3D6D62-2EE7-4B99-B973-9C861E535236}":200}

## Response 400 fields (application/json):

  - `type` (string,null)
    The type of the error response entity.

  - `title` (string,null)
    The title of the error response entity.

  - `status` (integer,null)
    The response status code.

  - `detail` (string,null)
    A detailed explanation, specific to this occurrence of the problem.

  - `instance` (string,null)
    If available, a URI reference that identifies the specific occurrence of the problem.


## Response 204 fields
