Skip to content

Revoke native push-notification token

DELETE
/api/v1/account/push-token
curl --request DELETE \
--url http://localhost:3001/api/v1/account/push-token \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "device_id": "example", "token": "example" }'

Revoke a previously registered FCM/APNs device token. SA-2026-ARCH P3-M1.

Token to revoke

Media typeapplication/json
object
device_id
string
token
string
Examplegenerated
{
"device_id": "example",
"token": "example"
}

Revoked

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Not Found

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}