Push notifications
Enable or disable a push rule.
This endpoint allows clients to enable or disable the specified push rule.
put/_matrix/client/v3/pushrules/global/{kind}/{ruleId}/enabled
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
{
"enabled": true
}Response
The push rule was enabled or disabled.
object required
Changes
No recorded changes to this operation across all 1 revision of this API.