Menu

Batch Create Groups

Usage Instructions

Batch create groups, supporting up to 100 entries.

Request Instructions

POST /api/v1/cloudPhone/createGroup

Request Parameters

Parameter Type Required Description
list array Yes

list

Parameter Type Required Description
name string Yes Name, 2-30 characters
sort integer No Sort in descending order, with larger numbers first, up to 9999.
remark string No Remarks, up to 200 characters.

Request Example

json Copy
{
    "list": [
        {
            "name": "xx",
            "sort": 100,
            "remark": "xx"
        }
    ]
}

Response Example

json Copy
{
    "code": 200,
    "data": {
        "success": [
            {
                "index": 0, // Submitted array index
                "id": "xx", // ID
                "name": "xx",
                "sort": 100,
                "remark": "xx"
            }
        ],
        "fail": [
            {
                "index": 1, // Submitted array index
                "code": 408, // Error code
                "message": "xx" // Error message
            }
        ]
    },
    "message": "Success"
}
Previous
Batch Add to Groups
Next
Batch Edit Groups
Last modified: 2025-03-07Powered by