I wanna make a script to auto delete badges from my inventory, however I need to know what is the link to the API for deleting badges that a player owns, finding which ones they have, etc.
Does anyone know?
I wanna make a script to auto delete badges from my inventory, however I need to know what is the link to the API for deleting badges that a player owns, finding which ones they have, etc.
Does anyone know?
You cannot delete an asset from a player’s inventory. I’m not sure if it’s possible to find out which ones they have, but if so, it uses something obscure and meaningless like Pages or something.
This endpoint has methods for both getting the badges of an user and deleting them
https://badges.roblox.com/docs#!/Badges/get_v1_users_userId_badges
Never heard of that. Seems very cool though! I like the fact that Roblox gives the ability to delete badges, but I feel like it can have negative consequences on users, unless you’re just recycling the asset.
Every action you do in the Roblox website already uses these APIs (ex: posting a group shout, making a new game)
Also, methods like deleting a user’s badge requires proper authorization, so you can’t just delete random people’s badges
You can delete badges from your inventory, try. You just can’t delete assets made by Roblox, or UGC accessories.
Are you kidding me … You can’t script delete anyone’s badges. Even if you do find a call you will get denied quick. You want to delete your badges you can … on your profile.
I just made the script. It was easy. I meant the authorized account’s badges, not anyone elses.
Talking about deleting others peoples badges
“it was easy” /facepalm
I meant deleting my own badges.
Alright, so I tried it and it and it got me a little confused.
The first time, I tried it with my alt account. It didn’t work on the one section where it said “Removes badge from user”. It gave me 404.
On the second part where it said “Remove badge from authenticated user”, it worked perfectly. But I wasn’t even logged onto the account and it didn’t ask me for any kind of verification. I just put the BadgeId (it never asked me for any UserId somehow). I just clicked execute and it was done.
So then, with my main acc, I got a Welcome badge from a random simulator game. Tried it, and it never worked. 404 on the first one with the UserId, 403 on the second one without UserId.
How does the authentication work? Does it automatically check your cookies or something to verify?