Start a deduplication check
POST
/api/v1/admin/dedup/scrub/trigger
const url = 'https://example.com/api/v1/admin/dedup/scrub/trigger';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/admin/dedup/scrub/trigger \ --header 'Authorization: Bearer <token>'Starts a deduplication check. It requires a signed-in User with the admin scope and the admin or owner Role. It can return 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/admin/dedup/scrub/trigger. Inputs: . A recent account assertion is required. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
object
inserted
required
boolean
job_id
required
string
Examplegenerated
{ "inserted": true, "job_id": "example"}