How to remove user authData

Hi

I have a use case where i dont delete a user directly, i intend to disable the user, but i need to remove the user authData,
I am doing this via cloud code, i dont seem to find how to remove the authdata

thanks

Found a way using some help in the community posts (using cloudcode)

    let authdata = user.get('authData')
    if(authdata)
    {
      for (var x in authdata){
        await  user._unlinkFrom(x);
      }

    }

use this for example if authenticated using Facebook.

var currentUser = request.user
currentUser._unlinkFrom("facebook")