social.colibri.notification.unregisterPush
Removes a push subscription.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | notification.colibri.social |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.endpointNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.providerNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Removes a push subscription.",
"errors": [
{
"description": "Missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"endpoint": {
"description": "The Web Push endpoint URL or FCM registration token to remove.",
"type": "string"
},
"provider": {
"description": "Defaults to \"web\" if omitted.",
"knownValues": [
"web",
"fcm"
],
"type": "string"
}
},
"required": [
"endpoint"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"unregistered": {
"type": "boolean"
}
},
"required": [
"unregistered"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.notification.unregisterPush",
"lexicon": 1
}