BatchUnbindTemplate
Detach a template from multiple specified instances, such as space instances or stream instances.
Operation description
Specify at least one of TemplateId or TemplateType.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vs:BatchUnbindTemplate |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
string |
No |
The template ID. If omitted, all bindings that match the conditions on the instance are detached. |
323*****998-cn-qingdao |
| TemplateType |
string |
No |
The template type. Valid values:
|
record |
| InstanceId |
string |
Yes |
The instance ID. Separate multiple IDs with commas. |
323*****994-cn-qingdao |
| InstanceType |
string |
Yes |
The instance type. Valid values:
|
group |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
BEA5625F-8FCF-48F4-851B-CA63946DA664 |
| Bindings |
array<object> |
The list of results. |
|
|
object |
|||
| Error |
string |
The error message. Note
This field appears only when the operation fails. |
some error |
| InstanceId |
string |
The instance ID. |
323*****994-cn-qingdao |
| InstanceType |
string |
The instance type. |
group |
| TemplateId |
string |
The template ID. |
323*****998-cn-qingdao |
Examples
Success response
JSON format
{
"RequestId": "BEA5625F-8FCF-48F4-851B-CA63946DA664",
"Bindings": [
{
"Error": "some error",
"InstanceId": "323*****994-cn-qingdao",
"InstanceType": "group",
"TemplateId": "323*****998-cn-qingdao"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.