Move browser profiles to a group
Move browser profiles to the specified group. The Local API first verifies that the target group and profiles belong to the current user and team. Profiles that do not exist or are inaccessible are reported as individual failures.
Request parameters
Authorization Bearer Token
Include your API Key as a Bearer token in the Authorization request header.
Authorization: Bearer <api-key>Path parameters
1"group_01JABCDEF1234567890"minLength: 1Body parameters
requiredapplication/jsonGroupMoveBrowsersRequestminItems: 1maxItems: 100Generated from the schema; not a live response.
{
"env_ids": [
"env_01JABCDEF1234567890"
]
}Request code examples
JavaScript / TypeScript: Node.js 18+ with fetch; PHP: cURL extension; Go: 1.16+; Java: JDK 11+. Replace the token and example parameter values before running.
curl -X POST -H 'Authorization: Bearer <TOKEN>' -H 'Content-Type: application/json' -d '{
"env_ids": [
"env_01JABCDEF1234567890"
]
}' 'http://local.zhongyibrowser.com:39025/api/v1/groups/group_01JABCDEF1234567890/browsers'Responses
Success: code = 0. Failure: code > 0. Select a status to view its fields and example. Expand objects to inspect nested fields. Optional fields may be omitted.
Individual profile move results
Body
application/jsonGroupMoveBrowsersSuccessResponseobjectrequiredEndpoint business dataAdditional fields are not allowed.
Additional fields are not allowed.
Generated from the schema; not a live response.
{
"code": 0,
"message": "success",
"data": {
"group": {
"id": "string",
"name": "string"
},
"total": 0,
"success_count": 0,
"failed_count": 0,
"items": [
{
"env_id": "env_01JABCDEF1234567890",
"success": true,
"data": {
"group": {
"id": "string",
"name": "string"
}
}
}
]
}
}