Skip to content

ndi.cloud.auth.logout

  LOGOUT - logs a user out and invalidates their token

  [STATUS,RESPONSE] = ndi.cloud.auth.LOGOUT(AUTH_TOKEN)

  Inputs:
    AUTH_TOKEN - a string representing the authentification token

  Outputs:
    STATUS - did user log out? 1 for no, 0 for yes
    RESPONSE - the response summary