| Name | Type | Description |
|---|---|---|
email | string | Email of the third-party account. |
password | string | New password for the third-party account. |
app | string | The third-party app associated with the account. |
accountId | string | Target a specific account when multiple accounts of the same app exist. Optional but recommended when multi-account. |
{
"email": "user@example.com",
"password": "newsecurepassword",
"app": "INSTANTLY",
"accountId": "3f9c2a7e-6d14-4b8a-9f2e-1c7d5e8b4a91"
}curl --location --request PUT 'https://api.zapmail.ai/api/v2/exports/accounts/third-party' \
--header 'x-auth-zapmail;' \
--header 'x-workspace-key;' \
--header 'x-service-provider;' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "user@example.com",
"password": "newsecurepassword",
"app": "INSTANTLY",
"accountId": "3f9c2a7e-6d14-4b8a-9f2e-1c7d5e8b4a91"
}'{
"status": 200,
"message": "Account updated successfully",
"data": null
}