# reset_wp_admin_password

> Reset the WordPress administrator password for a site and return the new password once.

- Tier: D
- Required scope: write:hosting
- Annotations: destructiveHint
- Docs: https://api.inleed.com/tools/reset-wp-admin-password

## Description

Reset the WordPress administrator password for a site and return the new password once. The current password stops working immediately, so it does not reset on this call: it returns `{status:"confirmation_required", confirmationUrl, …}`. Show the human the `confirmationUrl` to approve in the client area; do not approve it yourself. Then poll `get_pending_action` — the new password appears exactly once, in `admin.password`.

## Input schema

- `input` — string (required). A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.
- `path` — string. Optional subfolder of a WordPress install not at the domain root (e.g. blog).
- `attempt_key` — string. An idempotency key you choose. Reusing it within an hour returns the same held reset instead of minting a new one.

## Example call

```json
{
  "name": "reset_wp_admin_password",
  "arguments": {
    "input": "example.se"
  }
}
```

