API.moderateUnbanUser(userID)

If the user is a MANAGER (role 3) or above, you can unban an user.

USAGE

// unban user 
API.moderateUnbanUser(3703511);

Comments

  • Avatar
    WayzRG

    doesn't work when i doesn't click on the ban tab before

  • Avatar
    Nikki Eveu

    Still does not work.

  • Avatar
    Tommy

    And it never will.

  • Avatar
    FautorFox

    Dunno if this works now, but i'm still saying this here.

    U can also use this method, which should work, for now.

    $.ajax({ type: 'DELETE', url: 'https://plug.dj/_/bans/'+USER_ID_HERE, contentType: 'application/json' });

Powered by Zendesk