Skip to content
unregisterPushDeviceMutation
unregisterPushDevice(token: String!): Boolean!

Disable the calling device's push token (e.g. on sign-out or when the user turns off notifications). Returns true if a matching active token was disabled.

Arguments

tokenString!

Returns

Boolean!

Try it

Example
Query
mutation UnregisterPushDevice($token: String!) {
  unregisterPushDevice(token: $token) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
unregisterPushDevice