SDK reference · Node SDK
prov.mandate.takeover.settings
prov.mandate.takeover.settings in Node SDK. The account's takeover protection settings.
Signature
prov.mandate.takeover.settings(): Promise<TakeoverProtection>Parameters
No parameters.
Returns
Promise<TakeoverProtection> The settings.
HTTP operation
GET /v1/mandate/settings/takeover_protection: Read takeover protection settings
Errors
Example
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/settings/takeover_protection`, {
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/mandate/settings/takeover_protection", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()