> ## Documentation Index
> Fetch the complete documentation index at: https://developers.paperlink.online/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke this device push token (sign-out / lost phone)



## OpenAPI

````yaml https://app.paperlink.online/api/mobile/openapi.json post /api/mobile/push/revoke
openapi: 3.1.0
info:
  title: PaperLink Mobile API
  version: 1.0.0
  description: >-
    Device-session API for the PaperLink mobile app. Tokens are per-user (no
    team baked in); the acting team is sent per request via X-Team-Id and the
    role is resolved live.
  contact:
    name: PaperLink Support
    url: https://paperlink.online
servers:
  - url: https://app.paperlink.online
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Auth
    description: >-
      OAuth 2.1 + PKCE device-session flow: obtain, refresh, and revoke mobile
      tokens.
    x-group: Authentication
  - name: Data
    description: >-
      Team-scoped read endpoints (identity, files, folders, links, views). Send
      the active team via X-Team-Id.
    x-group: Data Access
  - name: Mobile Push
    description: >-
      Per-device Expo push token registration and revocation. Token-only auth
      (no team header).
    x-group: Push Notifications
  - name: Mobile Activity
    description: >-
      Team-scoped Activity read-state: mark alerts read and read the unread
      count. Shared with the web in-app bell.
    x-group: Push Notifications
  - name: Mobile Billing
    description: >-
      Apple In-App Purchase: read the Subscription screen state, verify a
      StoreKit transaction, and restore purchases. Team-scoped (X-Team-Id).
    x-group: Billing
paths:
  /api/mobile/push/revoke:
    post:
      tags:
        - Mobile Push
      summary: Revoke this device push token (sign-out / lost phone)
      operationId: mobileRevokePushToken
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PushRevokeRequest'
      responses:
        '200':
          description: Revoked
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    PushRevokeRequest:
      type: object
      required:
        - installId
      properties:
        installId:
          type: string
  responses:
    BadRequest:
      description: Invalid request
    Unauthorized:
      description: Missing, expired, or revoked token
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.