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();

Was this page helpful? Send us feedback

LLM? Read llms.txt.