provider usersusers POST /api/users/{uuid}/push_tokens/unregister/
@utdk/posthog /api/users/{uuid}/push_tokens/unregister/
Unregister a push notification token
Delete the row matching `(user, token)`. Returns 204 even if no row matches so the mobile client can call this unconditionally when the user opts out.
uuid path required
string

Try it

Authentication
Configure credentials for PostHog API
usersPushTokensUnregisterCreate
POST/api/users/{uuid}/push_tokens/unregister/
Delete the row matching `(user, token)`. Returns 204 even if no row matches so the mobile client can call this unconditionally when the user opts out.

Parameters

required

Input

required

The opaque push token to remove for the authenticated user.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.usersPushTokensUnregisterCreate()