Skip to main content

unregisterPushToken

Requires a customer (portal or buyer app) session.

Unregister an Expo push token (called on logout or device wipe).

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation UnregisterPushToken($input: UnregisterPushTokenInput!) {
unregisterPushToken(input: $input)
}

Variables:

{
"input": {
"deviceId": "id"
}
}

Response:

{
"data": {
"unregisterPushToken": true
}
}
unregisterPushToken(
input: UnregisterPushTokenInput!
): Boolean!

Arguments​

unregisterPushToken.input ● UnregisterPushTokenInput! non-null input​

The details of the unregister push token request.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.