Skip to content

remove ip-binding not work #16

@zhongkon

Description

@zhongkon

don't work

$user = $client->query('/ip/hotspot/ip-binding/print', ['mac-address', '00:00:00:00:00:A9'])->read();
if (isset($user[0]['.id'])) {
$userId = $user[0]['.id'];
$removeUser = $client->query('/ip/hotspot/ip-binding/remove', ['.id', $userId])->read();
print_r($removeUser);
}

Result:
Array ( )
Don't remove

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions