DeleteFile
Deletes a specified JSON file from local storage or a connected cloud service.
Procedure-Specific Information
The Path input accepts paths relative to the URI provided in the connection string.If URI is set to: gs://test-bucket/folder2 and Path='file1.txt', the file /folder2/file1.txt will be deleted.
The procedure is executed as below:
EXEC DeleteFile Path='/hello-cdata.txt'
Input
| Name | Type | Description |
| Path | String | Specifies the full path of the JSON file to be deleted. The path is relative to the directory defined in the Uniform Resource Identifier (URI) connection property. |
Result Set Columns
| Name | Type | Description |
| Success | Bool | Indicates whether the file deletion operation completed successfully. If the value is 'false', the Details output parameter returns additional information. |
| Details | String | Provides diagnostic details when the operation fails. The value is NULL if the value of the Success output parameter is 'true'. |