Removes a push subscription.
Input
Encoding
application/jsonendpoint
string
Required
The Web Push endpoint URL or FCM registration token to remove.
provider
string
Optional
Defaults to "web" if omitted.
Output
Encoding
application/jsonunregistered
boolean
Required
No description available.
Errors
AuthRequired
Missing, malformed, or unverifiable service auth. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"endpoint"
],
"properties": {
"endpoint": {
"type": "string",
"description": "The Web Push endpoint URL or FCM registration token to remove."
},
"provider": {
"type": "string",
"description": "Defaults to \"web\" if omitted.",
"knownValues": [
"web",
"fcm"
]
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthRequired",
"description": "Missing, malformed, or unverifiable service auth."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"unregistered"
],
"properties": {
"unregistered": {
"type": "boolean"
}
}
},
"encoding": "application/json"
},
"description": "Removes a push subscription."
}