Delete saved accounts
Remove saved accounts by site and username.
Definition: POST · Checked on 2026-10-21.
Request
POST /api/deleteAccountUse the base URL and api-key shown on the client API screen. All examples use 9000 only as a placeholder port; see Overview for authentication.
JSON body
The online reference supplies these fields through examples; required fields below are supplemented from the current client.
| Field | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Profile ID |
accounts | object[] / string[] / mixed | Yes | Username strings or account objects; username alone matches all sites; prefer an object with site URL and username |
cURL example
curl --request POST 'http://127.0.0.1:9000/api/deleteAccount' \
--header 'api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"accounts": [
{
"origin_url": "https://example.com/",
"username_value": "EXAMPLE_USER_1"
},
{
"origin_url": "https://example.com/",
"username_value": "EXAMPLE_USER_2"
}
]
}'Response example
{
"success": true
}Current client response fields
| Field | Type | Usage |
|---|---|---|
success | boolean | Request processing succeeded; not a guarantee that every item was written |
Account item fields
| Field | Type | Description |
|---|---|---|
accounts[].origin_url | string | Account site URL |
accounts[].username_value | string | Username |
Usage notes
- Provide both origin_url and username_value to avoid removing a same-named account on another site. Current clients require id and an accounts array.
For failed requests, check both HTTP status and the error body. See Errors & troubleshooting.
Matching rules
accounts accepts usernames as string[] or object[] with username_value and optional origin_url. A username alone matches the same username across all sites; supply an object with origin_url to match both site and username. Back up and close the profile first.
Back up before deletion
Deletion reads existing accounts and rewrites the login database, potentially changing or losing unexported fields, original timestamps or password notes. It is not an in-place deletion of one row. Stop the profile and back it up first; account lists and passwords are sensitive.



