Enables or disables WebSocket for a custom domain name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:SetDomainWebSocketStatus |
update |
*ApiGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
Yes |
The ID of the API group. |
cf976e63b70c4993807e7bb9345d4695 |
| DomainName |
string |
Yes |
The custom domain name. |
ac.fluvet.cn |
| ActionValue |
string |
Yes |
The action. |
OPEN |
| WSSEnable |
string |
No |
If enable WSS. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
61A16D46-EC04-5288-8A18-811B0F536CC2 |
Examples
Success response
JSON format
{
"RequestId": "61A16D46-EC04-5288-8A18-811B0F536CC2"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.