Revoke Whitelist
Revoke a product license from a user
This endpoint enables the revocation of a product license from a user within your hub. By executing this route, you can withdraw access to a particular product from a user, ensuring control over product licensing and adherence to your hub's guidelines or user agreements.
Revoke a Whitelist from a user
DELETE https://v2.parcelroblox.com/whitelist/revoke
Headers
Authorization*
string
prod_DGzVhVsrqNJi4b0Chd9mMPUI9
Content-Type
string
application/json
Request Body
product_id*
string
Product ID
userid*
string
Roblox or Discord User ID
userid_type*
string
"roblox" or "discord"
If everything was able to process properly:
{ "status": "200", "message": "OK", "data": { "userid": string, "userid_type": string, "product_id": string, "state": "License has been revoked" } }If something was wrong on our end:
{ "status": "500", "message": "Internal Server Error" }If the product ID that you supplied does not exist:
{ "status": "404", "message": "Product does not exist.", "data": {} }If the user ID that you supplied does not exist within our Database:
{ "status": "404", "message": "No Roblox Account associated to this Discord User ID.", "data": {} }If you did not supply the Product ID, User ID and User ID Type:
{ "status": "400", "message": "Missing Body Parameters.\nRequired params: product_id, userid, userid_type", "data": {} }If the user does not own the license:
{ "status": "400", "message": "User does not own this license.", "data": { } }If you provided an invalid User ID Type:
{ "status": "400", "message": "Invalid type.\nAvailable types: roblox, discord", "data": {} }Last updated
Was this helpful?