post https://a.klaviyo.com/client/push-token-unregister/
Responses
202Success
202Success
xxxxxxxxxx
52curl --request POST \
--url 'https://a.klaviyo.com/client/push-token-unregister/?company_id=PUBLIC_API_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'revision: 2023-10-15' \
--data '
{
"data": {
"type": "push-token-unregister",
"attributes": {
"token": "1234567890",
"platform": "android",
"vendor": "apns",
"profile": {
"data": {
"type": "profile",
"id": "01GDDKASAP8TKDDA2GRZDSVP4H",
"attributes": {
"email": "sarah.mason@klaviyo-demo.com",
"phone_number": "+15005550006",
"external_id": "63f64a2b-c6bf-40c7-b81f-bed08162edbe",
"anonymous_id": "01GDDKASAP8TKDDA2GRZDSVP4H",
"_kx": "J8fjcn003Wy6b-3ILNlOyZXabW6dcFwTyeuxrowMers%3D.McN66",
"first_name": "Sarah",
"last_name": "Mason",
"organization": "Klaviyo",
"title": "Engineer",
"image": "https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg",
"location": {
xxxxxxxxxx
14{
"errors": [
{
"id": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
}
}
]
}