Skip to content

Unregister Push Token #169

@AhmadNaeemK

Description

@AhmadNaeemK

Checklist

Description

I can't find a way to unregister a user's push token if they opt out of push notifications after opting in once.

Proposed Solution

Implement unregisterPushToken method that calls the `unregister client push token` api and removes the push notification from Klaviyo.

Alternatives Considered

There's an unregister client push token api (https://developers.klaviyo.com/en/reference/unregister_client_push_token). The api requires the user's Klaviyo profile but there's no client api to fetch it. It would be great if there was a way to fetch the current profile too.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions