Push notifications
Set the actions for a push rule.
This endpoint allows clients to change the actions of a push rule. This can be used to change the actions of builtin rules.
put/_matrix/client/v3/pushrules/global/{kind}/{ruleId}/actions
Request
- Base URLhttps://matrix.org
- Auth
- API key in query parameter access_token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
kind'override' | 'underride' | 'sender' | 'room' | 'content' required
The kind of rule
ruleIdstring required
The identifier for the rule.
Request body
Example request
{
"actions": [
"notify",
{
"set_tweak": "highlight"
}
]
}Response
The actions for the push rule were set.
object required
Changes
No recorded changes to this operation across all 1 revision of this API.