> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vouchmark.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete widget

> Delete a widget.

Deletes a widget so it can no longer accept new sessions. Applicant data already collected is retained for audit purposes.

Requires `Authorization: Bearer $TOKEN`.

## Path parameters

<ParamField path="id" type="string" required>
  The widget ID to delete.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.vouchmark.com/v1/kyb/widgets/wgt_aBcD... \
    -H "Authorization: Bearer $TOKEN"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "message": "Widget deleted successfully",
    "data": null
  }
  ```
</ResponseExample>

The response carries `success`, a `message`, and a `null` `data` payload. There is no `deletedAt` timestamp.
