Modifies a test group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request headers. For more information, see Common request parameters.

Request syntax

PUT /v4/openapi/app-groups/[appGroupIdentity]/scenes/[sceneId]/groups/[groupId] HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes "my_app_group_name"

The name of the application.

groupId Integer Path Yes 13467

The ID of the test group.

sceneId Integer Path Yes 20404

The ID of the test scenario.

Request body

Parameter

Type

Required

Example

Description

name

String

Yes

"kevintest3"

The name of the test group.

Response parameters

Parameter Type Example Description
requestId String ''1111''

The ID of the request.

result Struct

The details of the test group.

created Integer 1588839490

The time when the test group was created.

id String 13466

The ID of the test group.

name String Group_2020-5-7_15:23:3

The name of the test group.

status Integer 1

The status of the test group. Valid values:

  • 0: not in effect
  • 1: in effect
updated Integer 1588839490

The time when the test group was last modified.

Examples

Sample requests

PUT /v4/openapi/app-groups/kevintest/scenes/20405/groups/13467

{
  "name": "kevintestgroup222"
}

Sample success responses

XML format

<requestId>D77D0DAF-790D-F5F5-A9C0-133738165014</requestId>
<result>
    <id>13467</id>
    <name>kevintestgroup222</name>
    <status>1</status>
    <created>1589016325</created>
    <updated>1589016544</updated>
</result>

JSON format

{
    "requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
    "result": {
        "id": 13467,
        "name": "kevintestgroup222",
        "status": 1,
        "created": 1589016325,
        "updated": 1589016544
    }
}

Error codes

For a list of error codes, visit the API Error Center.