def delete_invite(code)
      invite = resolve_invite_code(code)
      API::Invite.delete(token, invite)
    end
def delete_invite(code)
      invite = resolve_invite_code(code)
      API::Invite.delete(token, invite)
    end
Revokes an invite to a server. Will fail unless you have the *Manage Server* permission.
 It is recommended that you use {Invite#delete} instead.
 @param code [String, Invite] The invite to revoke. For possible formats see {#resolve_invite_code}.