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

# Revoke Onboarding Token

> Revokes an onboarding token, invalidating the onboarding link.




## OpenAPI

````yaml delete /onboarding/token/{publicIdentifier}
openapi: 3.0.3
info:
  title: Everday Onboarding API
  version: 1.0.0
  description: >
    ## Onboarding API

    This API allows organisations to create, retrieve, and revoke onboarding
    tokens. Authentication is required for all endpoints using an API key.
servers:
  - url: https://api.ever.day
security: []
paths:
  /onboarding/token/{publicIdentifier}:
    delete:
      summary: Revoke Onboarding Token
      description: |
        Revokes an onboarding token, invalidating the onboarding link.
      parameters:
        - name: publicIdentifier
          in: path
          required: true
          schema:
            type: string
          description: The unique public identifier of the user.
      responses:
        '200':
          description: Onboarding token revoked successfully.
        '401':
          description: Unauthorized. API key is missing or invalid.
        '404':
          description: User not found or token already revoked.
        '500':
          description: Internal server error.
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >
        Include your API key in the `x-api-key` header to authenticate requests.
        Each organisation is provided with a unique API key. If your key is lost
        or compromised, contact support to request a new one.

````