Klaviyo · Schema
PushTokenUnregisterQueryResourceObject
MarketingEmailSMSCustomer DataEcommerceAutomation
Properties
| Name | Type | Description |
|---|---|---|
| type | object | |
| attributes | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PushTokenUnregisterQueryResourceObject",
"title": "PushTokenUnregisterQueryResourceObject",
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/PushTokenUnregisterEnum"
},
"attributes": {
"type": "object",
"properties": {
"token": {
"description": "A push token from APNS or FCM.",
"type": "string",
"example": "1234567890"
},
"platform": {
"description": "The platform on which the push token was created.",
"type": "string",
"enum": [
"android",
"ios"
]
},
"vendor": {
"description": "The vendor of the push token.",
"type": "string",
"example": "apns",
"enum": [
"apns",
"fcm"
],
"nullable": true
},
"profile": {
"description": "The profile associated with the push token to create/update",
"type": "object",
"properties": {
"data": {
"$ref": "#/components/schemas/ProfileUpsertQueryResourceObject"
}
},
"required": [
"data"
]
}
},
"required": [
"token",
"platform",
"profile"
]
}
},
"required": [
"type",
"attributes"
]
}