ModifyRoomAttribute
https://zim-api.zego.im/
Update custom room attributes based on the room ID. A room can have a maximum of 20 room attributes. If you need to increase the limit, please contact ZEGOCLOUD Technical Support.
After the room attributes are updated, you can receive notifications of room attribute updates through the following ZIM SDK callbacks:
| iOS | Android | macOS | Windows |
|---|---|---|---|
| roomAttributesUpdated | onRoomAttributesUpdated | roomAttributesUpdated | onRoomAttributesUpdated |
| Web | Mini Program | Flutter | React Native |
|---|---|---|---|
| roomAttributesUpdated | roomAttributesUpdated | onRoomAttributesUpdated | roomAttributesUpdated |
| Unity3D | uni-app | uni-app x | HarmonyOS |
|---|---|---|
| OnRoomAttributesUpdated | roomAttributesUpdated | roomAttributesUpdated |
Request
Query Parameters
Possible values: [ModifyRoomAttribute]
API prototype parameter
https://zim-api.zego.im/?Action=ModifyRoomAttribute
💡Public parameter. Application ID, assigned by ZEGOCLOUD. Get it from the ZEGOCLOUD Admin Console.
💡Public parameter. A 16-character hexadecimal random string (hex encoding of 8-byte random number). Refer to Signature example for how to generate.
💡Public parameter. Current Unix timestamp, in seconds. Refer to Signature example for how to generate, with a maximum error of 10 minutes.
Possible values: [2.0]
Default value: 2.0
💡Public parameter. Signature version number.
💡Public parameter. Signature, used to verify the legitimacy of the request. Refer to Signing the requests for how to generate an API request signature.
- application/json
Responses
- 200
- application/json
