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
/v1/kya/sites/{id}

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

FieldTypeDescription
idrequiredstring

The site's id.

Responses

The site is deleted.

FieldTypeDescription
idstring

The site's id

deletedboolean

Always true.

request_idstring

req_…, the same as the X-Request-Id header.

Examples

Example Request
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"}