Skip to content

Batch modify 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.
Bodyapplication/jsonrequired
envIdsArray of strings

Environment IDs, must choose one between this and serial IDs

envRemarkstringrequired

Remark, required

uniqueIdsArray of strings

Serial IDs, must choose one between this and environment IDs

curl -i -X POST \
  http://127.0.0.1:40000/api/env/setRemark/batch \
  -H 'Content-Type: application/json' \
  -d '{
    "envRemark": "string"
  }'

Responses

Success. data is a single boolean value.

Headers
any
Bodyapplication/json
codeinteger
msgstring or null
databoolean
requestIdstringrequired
Response
{ "code": 0, "msg": null, "data": true, "requestId": "8172c8ff6ae048a9bb2546760832a460" }