Modify a pusher for this user on the homeserver.
POST {{baseUrl}}/pushers/set
This endpoint allows the creation, modification and deletion of pushers for this user ID. The behaviour of this endpoint varies depending on the values in the JSON body.
Request Body
{"lang"=>"en", "kind"=>"http", "app_display_name"=>"Mat Rix", "device_display_name"=>"iPhone 9", "profile_tag"=>"xxyyzz", "app_id"=>"com.example.app.ios", "pushkey"=>"APA91bHPRgkF3JUikC4ENAHEeMrd41Zxv3hVZjC9KtT8OvPVGJ-hQMRKRrZuJAEcl7B338qju59zJMjw2DELjzEvxwYv7hH5Ynpc1ODQ0aT4U4OFEeco8ohsN5PjL1iC2dNtk2BAokeMCg2ZXKqpc8FXKmhX94kIxQ", "data"=>{"url"=>"https://push-gateway.location.here/_matrix/push/v1/notify", "format"=>"event_id_only"}, "append"=>false}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{}