app.bsky.notification.unregisterPush
Lexicon Version: 1
Definitions
Section titled “Definitions”Type: procedure
The inverse of registerPush - inform a specified service that push notifications should no longer be sent to the given token for the requesting account. Requires auth.
Parameters: (None defined)
Input:
- Encoding:
application/json - Schema:
Schema Type: object
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
serviceDid | string | ✅ | Format: did | |
token | string | ✅ | ||
platform | string | ✅ | Known Values: ios, android, web | |
appId | string | ✅ |
Lexicon Source
Section titled “Lexicon Source”{ "lexicon": 1, "id": "app.bsky.notification.unregisterPush", "defs": { "main": { "type": "procedure", "description": "The inverse of registerPush - inform a specified service that push notifications should no longer be sent to the given token for the requesting account. Requires auth.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "serviceDid", "token", "platform", "appId" ], "properties": { "serviceDid": { "type": "string", "format": "did" }, "token": { "type": "string" }, "platform": { "type": "string", "knownValues": [ "ios", "android", "web" ] }, "appId": { "type": "string" } } } } } }}