You can call this operation to modify the relationship between an asset and an asset 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 parameters

Parameter Type Required Example Description
Action String Yes CreateOrUpdateAssetGroup

The operation that you want to perform. Set the value to CreateOrUpdateAssetGroup.

GroupId Long No 111111

The ID of the group to be modified.

GroupName String No test

The name of the group to be modified.

Uuids String No []

The list of UUIDs.

Response parameters

Parameter Type Example Description
RequestId String 7E0618A9-D5EF-4220-9471-C42B5E92719F

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=CreateOrUpdateAssetGroup
&<Common request parameters>

Sample success responses

XML format

<CreateOrUpdateAssetGroup>
	  <code>200</code>
	  <requestId>7E0618A9-D5EF-4220-9471-C42B5E92719F</requestId>
	  <success>true</success>
    </CreateOrUpdateAssetGroup>

JSON format

{
	"requestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F",
	"code":200,
	"success":true
}

Error codes

For more information about error codes, visit API Error Center.