
        # Environment Management API
        ### Environment Buttler (TM)
        
        This API allows you to manage environment information.
        
        ## Endpoints:
        
        ### GET /environments
        - **Description:** Lists all environments.
        - **Response:** JSON array of environment objects.
        
        ### POST /environments
        - **Description:** Creates a new environment.
        - **Request Body:** JSON object with:
          - `siteId` (string, required)
          - `name` (string, required)
        - **Response:** JSON object of the newly created environment.
        
        ### GET /environments/:id
        - **Description:** Gets a specific environment by ID.
        - **Path Parameter:** `id` (UUID of the environment)
        - **Response:** JSON object of the requested environment, or 404 if not found.
        
        ### PUT /environments/:id
        - **Description:** Edits an existing environment.
        - **Path Parameter:** `id` (UUID of the environment)
        - **Request Body:** JSON object with optional fields to update:
          - `siteId` (string)
          - `name` (string)
        - **Response:** JSON object of the updated environment, or 404 if not found.
        
        ### POST /environments/:id/check-out
        - **Description:** Checks out an environment.
        - **Path Parameter:** `id` (UUID of the environment)
        - **Request Body:** JSON object with:
          - `project` (string, required)
          - `projectManager` (string, required)
        - **Response:** JSON object of the updated environment, or 404 if not found, or 400 if already checked out or missing required fields.
        
        ### POST /environments/:id/release
        - **Description:** Releases an environment.
        - **Path Parameter:** `id` (UUID of the environment)
        - **Response:** JSON object of the updated environment, or 404 if not found, or 400 if already available.
        
        ### DELETE /environments/:id
        - **Description:** Removes an environment.
        - **Path Parameter:** `id` (UUID of the environment)
        - **Response:** 204 No Content on success, or 404 if not found.
        