# Đặt ghi chú cho profile theo lô

Đặt ghi chú cho nhiều profile trình duyệt. Chuỗi rỗng sẽ xóa ghi chú.
- **Điều kiện tiên quyết**
: cung cấp ít nhất một trong
`envIds`
 hoặc
`uniqueIds`
; bên gọi phải có quyền với từng profile.
- **Tác động**
: chỉ ghi trường ghi chú.
- **Hoàn tất**
: đồng bộ. Hoàn toàn idempotent với cùng một request body.

Endpoint: POST /env/setRemark/batch
Version: 2026-09-05
Security: OpenApiBearer

## Security:

  - `OpenApiBearer` (unknown)
    http bearer JWT

## Request fields (application/json):

  - `envIds` (array)
    ID các profile.

  - `uniqueIds` (array)
    Số thứ tự của các profile.
    Example: [1001]

  - `envRemark` (string, required)
    Ghi chú của profile. Chuỗi rỗng sẽ xóa ghi chú.
    Example: Managed by automation

## Response 200:

  - `200` (unknown)
    Success

## Response 200 fields (application/json):

  - `code` (integer, required)
    Return result code. `0` means success; other codes indicate exceptions.
    Example: 0

  - `msg` (string | null, required)
    Error message. Usually `null` on success.
    Example: null

  - `requestId` (string)
    Operation request ID. This field may be present when the request passes through the API gateway.
    Example: 1d4f3ea968664593860b94b35d4ebf5e

  - `data` (boolean, required)
    Whether the batch operation succeeded.
    Example: true

