What does the "Get User" reference returns for a deleted / recycled user?

Hi, I am currently using the Get Users reference to get a bunch of users based on their login.

So the call looks like this : https://api.twitch.tv/helix/users?login=myusername

It is working great for “normal” users but I was wondering what would this call return for a deleted user ? I’m not talking about a banned one but a deleted one, for example a user that has been recycled.

I would love to try it myself but … I don’t have any example of a recycled / deleted user.

Thanks

if the user name doesn’t exist, IE you visit https://www.twitch.tv/myusername and get the “time machine page”, then the API will return

{"data":[]}

regardless of the method of deletion.

If a Username is "not active’ on the platfrom, then you get no data.

This includes but not limited to

  • Account delete,
  • Account TOS’ed,
  • Account recycled,
  • Account never existed in the first place.

There is no way to see if a given username is in the “recycle pool” or not

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.