remove_ppp_secret
Deletes a PPP/PPPoE secret by name on a MikroTik RouterOS device. Provides a preview before confirming the removal.
Instructions
Remove a PPP/PPPoE secret (/ppp/secret remove) by name.
WRITE tool, guarded: blocked entirely unless the server is running
with MIKROTIK_ALLOW_WRITE=true. Call with confirm=False (the
default) to get a before/after preview without changing anything;
call again with confirm=True to actually remove it. Errors clearly
if no secret matches name (ResourceNotFoundError), or if more
than one somehow does (AmbiguousResourceError) - never guesses
which one to remove. The returned preview's before never
includes the secret's password - redacted before the preview is
ever built (see guard.remove_ppp_secret's docstring).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||