SDK reference · Node SDK
prov.account.clearTestTextStops
prov.account.clearTestTextStops in Node SDK. Slice 3: lift the stops the test number +12025550103 wrote (stands in for the person's START).
Signature
prov.account.clearTestTextStops(): Promise<{ object: "test_text_stops"; lifted: number }>Parameters
No parameters.
Returns
Promise<{ object: "test_text_stops"; lifted: number }> How many stops were lifted.
HTTP operation
DELETE /v1/account/test_texts/stops: Lift the test stops
Errors
Example
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/account/test_texts/stops`, {
method: "DELETE",
headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.delete(f"{api}/v1/account/test_texts/stops", headers={"Authorization": "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x"}).json()