Skip to content

Batch set profile remark

Request

Set the remark on multiple browser profiles. An empty string clears it.

  • Preconditions: provide at least one of envIds or uniqueIds; the caller must be authorized for each profile.
  • Effect: writes the remark field only.
  • Completion: synchronous. Fully idempotent for the same body.
Security
OpenApiBearer
Bodyapplication/jsonrequired
envIdsArray of strings

Profile IDs.

uniqueIdsArray of integers, (int32)

Profile sequence numbers.

Example:
[ 1001 ]
envRemarkstringrequired

Profile remark. An empty string clears the remark.

Example:"Managed by automation"
curl -i -X POST \
  https://api.morelogin.com/env/setRemark/batch \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "envIds": [
      "1800000000000001"
    ],
    "envRemark": "Managed by automation"
  }'

Responses

Success

Bodyapplication/json
codeintegerrequired

Return result code. 0 means success; other codes indicate exceptions.

Example:0
msgstring or nullrequired

Error message. Usually null on success.

Example:null
requestIdstring

Operation request ID. This field may be present when the request passes through the API gateway.

Example:"1d4f3ea968664593860b94b35d4ebf5e"
databooleanrequired

Whether the batch operation succeeded.

Example:true
Response
{ "code": 0, "msg": null, "requestId": "1d4f3ea968664593860b94b35d4ebf5e", "data": true }