Accidentally banned my alt with the BanAPI (can't unban myself)

I banned my alt account for testing a system made by me, but i forgot that i can’t unban myself on Roblox Studio.

The game is not mine, and i dont have access with the BanAPI from website. I tried to make scripts but it still not works

I need help for get unbanned.
My friend unbanned me after hours, but i hope this will be fixed

You need to create a script on the server that calls the ban API to unban your account

Then just join on an alt or tell a friend to join

Why cant you join on your real account?

  • Because the BanAsync API won’t let you connect to the server.
1 Like

On the off-chance you have an API key, you can send a HTTP request to unban yourself.

curl -L -X DELETE "https://apis.roblox.com/cloud/v2/universes/UNIVERSE_ID/user-restrictions/YOUR_USER_ID" -h "x-api-key: apiKey"
1 Like
local Players = game:GetService("Players")

local config :UnbanConfigType = {
	UserIds = {0000}; -- ur userid
	ApplyToUniverse = true;
}

Players:UnbanAsync(config)

add this script in ServerScriptService and try joining a real game. (not studio)

1 Like

He doesn’t have access to Roblox website ban dashboard.

1 Like

i already did that before, doesnt work. I still put the heart on the reply

try using an alt. You can create new accounts on mobile so you can avoid alt detection (different ip)

1 Like

I cant know if it works, i found another idea for unban myself. I told my friend to unban me with the system made by me, and it worked. Thank you for trying to help me

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