Update Password
hudu_update_passwordUpdate an existing password in Hudu to change its username, password, URL, or linked company. Only the fields you send are overwritten.
Instructions
Update an existing password. A password record in Hudu — the credential vault entry for a company, optionally attached to a specific asset or website. Hudu calls these "AssetPassword" in the API and simply "Passwords" in its interface.
Only the fields you supply are sent. Be aware that Hudu applies these as a PUT: for fields you do send, the new value replaces the old one outright — read the record first with hudu_get_password if you intend to append rather than overwrite.
Operation class: Update. Impact: Overwrites the supplied fields on this password.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric Hudu id of the password. | |
| url | No | URL this credential relates to. | |
| name | No | Label for this credential, e.g. "Firewall admin" or "M365 global admin". | |
| password | No | The secret itself. You are writing credential material into Hudu. Never invent a password or an OTP secret yourself, never copy one out of another tool result, and never repeat the value back in your reply, in a summary, or in a later tool call. Take it from the user for this one call and then let go of it. | |
| username | No | Username or account name this credential is for. | |
| in_portal | No | When true, the credential is exposed in the customer-facing Hudu portal, where end users can see it. Confirm with the user before enabling this — it widens who can read the secret beyond your own staff. | |
| login_url | No | Sign-in page URL, if different from url. | |
| company_id | No | Company this credential belongs to. Resolve it with hudu_list_companies first. | |
| otp_secret | No | TOTP seed for multi-factor login on this account, base32. Storing this beside the password puts both factors in one place — say so to the user before doing it. You are writing credential material into Hudu. Never invent a password or an OTP secret yourself, never copy one out of another tool result, and never repeat the value back in your reply, in a summary, or in a later tool call. Take it from the user for this one call and then let go of it. | |
| description | No | Notes about the credential. Do not put the password itself here. | |
| password_type | No | Free-text category, e.g. "Local admin". Hudu publishes no list of legal values; read an existing record to see what this instance uses. | |
| passwordable_id | No | Numeric id of the record named by passwordable_type. | |
| passwordable_type | No | Type of record this credential belongs to. Pair with passwordable_id. Omit both to store the credential against the company alone rather than a specific record. | |
| password_folder_id | No | Folder to file the credential under. List folders with hudu_list_password_folders. |