social.colibri.beta.notification.unregisterPush
Removes a previously registered push endpoint.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | notification.beta.colibri.social |
| Indexed |
Showing version bafyreihsbcjcact44twuw74p7b4wpiushozvedsfwku7m4kifxpzpneeky. Show the latest
Checks
Validunlimited-stringdefs.main.input.schema.properties.providerNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.tokenNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Removes a previously registered push endpoint.",
"errors": [
{
"description": "The request has no valid service auth.",
"name": "AuthRequired"
},
{
"description": "The arguments are inconsistent or malformed beyond schema validation.",
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"endpoint": {
"description": "The Web Push subscription endpoint to remove.",
"format": "uri",
"type": "string"
},
"provider": {
"description": "The push provider to unregister from.",
"knownValues": [
"webpush",
"fcm",
"apns"
],
"type": "string"
},
"token": {
"description": "The FCM registration token or APNs device token to remove.",
"type": "string"
}
},
"required": [
"provider"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.colibri.beta.notification.unregisterPush",
"lexicon": 1
}