Update an HMS push configuration
Updates a specific HMS (Huawei Mobile Services) push configuration for client apps. You can also update the configurations on the Sendbird Dashboard under Settings > Chat > Push notifications.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
| Parameter name | Type | Description | 
|---|---|---|
| provider_id | string | Specifies the provider ID of the push configuration. | 
Request body
The following table lists the properties of an HTTP request that this action supports.
Optional
| Property name | Type | Description | 
|---|---|---|
| huawei_app_id | string | Specifies the unique ID of the application for HMS to update. | 
| huawei_app_secret | string | Specifies the secret key of the application to update. | 
| push_sound | string | Specifies the name of a sound file to be played when a push notification is delivered to client apps. The file should be located in the  | 
Response
If successful, this action returns the information about the updated HMS push configuration in the response body.
| Property name | Type | Description | 
|---|---|---|
| push_configurations | string | A unique provider ID of the updated push configuration. | 
In the case of an error, an error object is returned. A detailed list of error codes is available here.