DeleteFile
Permanently deletes a user-uploaded chat file. This operation cannot be undone.
Stored Procedure-Specific Information
Required input: ClaudeFileId, available from GetChatMessageFiles.Id or the Files JSON column in ChatMessages. Returns the deleted Id and optional Type.
To execute this procedure, enter:
EXEC DeleteFile ClaudeFileId = 'claude_file_123';
Input
| Name | Type | Required | Description |
| ClaudeFileId | String | True | The tagged chat file Id to delete. Required: Obtain it from GetChatMessageFiles.Id or ChatMessages.Files (for example, claude_file_abc123). |
Result Set Columns
| Name | Type | Description |
| Id | String | The Id of the deleted file. |
| Type | String | The optional deletion confirmation type: claude_file_deleted. |