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

    Function signOut

    • Invalidate the session associated with an access token.

      Note: This hits https://secure.soundcloud.com, NOT the regular api.soundcloud.com host used by all other endpoints.

      Parameters

      • accessToken: string

        The OAuth access token to invalidate

      Returns Promise<void>

      When the sign-out request fails

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

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