If a multicast member no longer needs to receive multicast traffic, you can call the DeregisterTransitRouterMulticastGroupMembers operation to delete the member from the multicast group.
Operation description
DeregisterTransitRouterMulticastGroupMembers is an asynchronous operation. After you send a request, the system returns a RequestId, but the multicast member is not deleted immediately. The deletion task runs in the background. You can call the ListTransitRouterMulticastGroups operation to query the status of the multicast member.
If a multicast member is in the Deregistering state, it is being deleted. In this state, you can only query the member. You cannot perform other operations.
If the
ListTransitRouterMulticastGroupsoperation does not find the multicast member in the multicast domain, the member is deleted.
Ensure that you enter correct parameter values when you call the DeregisterTransitRouterMulticastGroupMembers operation. If you enter an incorrect parameter, the operation still returns a RequestId but does not delete the multicast member.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeregisterTransitRouterMulticastGroupMembers |
delete |
*TransitRouterMulticastDomain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Generate a unique value from your client for each request. The ClientToken parameter supports only ASCII characters. |
123e4567-e89b-12d3-a456-426655440000 |
| TransitRouterMulticastDomainId |
string |
Yes |
The ID of the multicast domain to which the multicast member belongs. |
tr-mcast-domain-91wpg6wbhchjeq**** |
| GroupIpAddress |
string |
Yes |
The IP address of the multicast group to which the multicast member belongs. |
239.XX.XX.2 |
| NetworkInterfaceIds |
array |
No |
A list of Elastic Network Interface (ENI) IDs. |
|
|
string |
No |
The ENI ID. You can delete multiple ENIs at a time. Make sure that the total number of specified ENIs and inter-region multicast domains does not exceed 5. |
eni-p0weuda3lszwzjly**** |
|
| PeerTransitRouterMulticastDomains |
array |
No |
A list of inter-region multicast domain IDs. |
|
|
string |
No |
The ID of an inter-region multicast domain. You can delete multiple inter-region multicast domains at a time. Make sure that the total number of specified ENIs and inter-region multicast domains does not exceed 5. |
tr-mcast-domain-5mjb5gjb6dgu98**** |
|
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
The response that is returned. |
||
| RequestId |
string |
The request ID. |
61D0A553-5E4E-53B5-9DA3-01CBA076A286 |
Examples
Success response
JSON format
{
"RequestId": "61D0A553-5E4E-53B5-9DA3-01CBA076A286"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTransitRouterMulticastDomainId.NotFound | The specified TransitRouterMulticastDomainId is not found. | The error message returned because the specified ID of the multicast domain (TransitRouterMulticastDomainId) on the transit router does not exist. |
| 400 | InvalidOperation.MulticastDomainStatus | Operation is invalid, due to multicast domain not Active. | The error message returned because the status of the specified multicast domain does not support this operation. |
| 400 | IncorrectStatus.MulticastGroup | The status of MulticastGroup is incorrect. | The error message returned because the status of the specified multicast group does not support this operation. Try again later. |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | The error message returned because the dry run request passed the precheck. |
| 400 | OperationUnsupported.NotAllowedDeleteIgmpv2Member | You cannot delete a multicast source or multicast member of the igmpv2 type. | You cannot delete a multicast source or member of the igmpv2 type. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.