# One-click adaptive window arrangement

Used to arrange opened profiles with one click. Requires at least one profile to be open.

Endpoint: POST /api/env/arrangeWindows
Version: 1.0.0

## Request fields (application/json):

  - `arrangeType` (integer)
    Arrangement type: 1 for Tiled, 2 for Stacked, defaults to Tiled if not specified

  - `envIds` (array)
    Environment IDs, if not specified, all environment windows are selected by default

  - `screenIds` (array)
    Screen IDs, array type, if not specified, arrange on the screen where the mouse cursor is located

## Response 200 fields (application/json):

  - `arrangeType` (integer)

  - `envIds` (array)
    Environment ID

  - `screenIds` (array)
    Sequence ID


