Skip to content

/api/v1/me/push-subscriptions (DELETE)

DELETE
/api/v1/me/push-subscriptions
curl --request DELETE \
--url https://example.com/api/v1/me/push-subscriptions \
--header 'Content-Type: application/json' \
--data '{ "endpoint": "https://example.com" }'
Media type application/json
object
endpoint
required
string format: uri
Example generated
{
"endpoint": "https://example.com"
}

Removed

No session

Media type application/problem+json
object
type
required
string
title
required
string
status
required
number
code
required
string
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"code": "example"
}

Not found

Media type application/problem+json
object
type
required
string
title
required
string
status
required
number
code
required
string
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"code": "example"
}