soundcloud-api-ts - v1.16.0
    Preparing search index...

    Function disconnect

    • Revoke OAuth access for the calling application.

      Invalidates the access tokens of the client application that issued accessToken. Unlike signOut, this hits the regular api.soundcloud.com host with a Bearer token.

      Parameters

      • accessToken: string

        An OAuth access token issued to your application

      Returns Promise<void>

      400 when disconnect is not supported for this token, 401 when the token is invalid

      import { disconnect } from 'soundcloud-api-ts';

      await disconnect('your-access-token');