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