Clerk · Capability

Clerk Frontend Api — External Accounts

Clerk External Accounts capability. 4 operations. Lead operation: Connect OAuth Accounts.

Run with Naftiko ClerkExternal Accounts

Capability Spec

clerk-frontend-api-external-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Clerk Frontend Api — External Accounts
  description: 'Clerk External Accounts capability. 4 operations. Lead operation: Connect OAuth Accounts.'
  tags:
  - Clerk
  - External Accounts
  created: '2026-05-22'
  modified: '2026-05-22'
binds:
- namespace: env
  keys:
    CLERK_PUBLISHABLE_KEY: CLERK_PUBLISHABLE_KEY
capability:
  consumes:
  - type: http
    namespace: clerk-frontend-api-external-accounts
    baseUri: ''
    description: Clerk clerk-frontend-api External Accounts business capability.
    resources:
    - name: v1-me-external-accounts
      path: /v1/me/external_accounts
      operations:
      - name: postOAuthAccounts
        method: POST
        description: Connect OAuth Accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Origin
          in: header
          type: string
          description: The origin of the request.
          required: false
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-me-external-accounts-external-account-id-reauthorize
      path: /v1/me/external_accounts/{external_account_id}/reauthorize
      operations:
      - name: reauthorizeExternalAccount
        method: PATCH
        description: Reauthorize External Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: external_account_id
          in: path
          type: string
          description: External account ID
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-me-external-accounts-external-account-id
      path: /v1/me/external_accounts/{external_account_id}
      operations:
      - name: deleteExternalAccount
        method: DELETE
        description: Delete External Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: external_account_id
          in: path
          type: string
          description: External account ID
          required: true
    - name: v1-me-external-accounts-external-account-id-tokens
      path: /v1/me/external_accounts/{external_account_id}/tokens
      operations:
      - name: revokeExternalAccountTokens
        method: DELETE
        description: Revoke OAuth Tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: external_account_id
          in: path
          type: string
          description: External account ID
          required: true