API referenceKYBBusinesses
delete_business
DELETE /v1/businesses/{id}: deletes a business, with its records and screenings, and cancels their jobs.
DELETE
Deletes a business, with its records and screenings, and cancels their jobs. You can restore it for 30 days; after that, Finic removes it from its business records. With permanent=true (an admin's key), it's removed at once.
Query parameters
| Field | Type | Description |
|---|---|---|
permanent | boolean |
Responses
Deleted.
| Field | Type | Description |
|---|---|---|
id | string | |
deleted | boolean | |
permanent | boolean |
| Status | Type and when |
|---|---|
401 |
|
403 |
|
404 |
|
409 |
|
Every error has the same shape; see Errors.
Examples
curl -X DELETE 'https://api.finic.ai/v1/businesses/string' \ -H "Authorization: Bearer $FINIC_API_KEY"Example Response
{ "id": "string", "deleted": true, "permanent": true}