delete_site
DELETE /v1/kya/sites/{id} deletes a site, so its key stops working.
This can't be undone. Remove the script tag from your pages too: reports under a deleted key are dropped.
DELETE
Deletes a site. Its key stops working within a minute: reports that carry it are dropped. This can't be undone. Its sessions can still be read until they're 30 days old.
Path parameters
| Field | Type | Description |
|---|---|---|
idrequired | string | The site's |
Responses
The site is deleted.
| Field | Type | Description |
|---|---|---|
id | string | The site's id |
deleted | boolean | Always |
request_id | string |
|
| Status | Type and when |
|---|---|
401 |
|
404 |
|
429 |
|
Every error has the same shape; see Errors.
Examples
curl -X DELETE 'https://api.finic.ai/v1/kya/sites/string' \ -H "Authorization: Bearer $FINIC_API_KEY"Example Response
{ "id": "kst_01M4Z1X3G5P8D2F6J0YA4SMQNC", "deleted": true, "request_id": "req_01M4Z2M1T6W9E3R7Y5VA8PKGHB"}