In the UI Design module, click the Add Action button on the right side and select the Delete File From Bucket action.
2. Specify Parameters
Object Key (String – required): The unique name of the file to be deleted within the bucket. Example: user_123/avatar.png
Can usually be assigned as Action Result, Current, Form Component, Screen Input, or Fixed.
Bucket Name (String – required): You can only select AWS or Google as the cloud provider.
Encrypt (Boolean – optional): If bucket encryption is used, this parameter can be used for verification during the deletion process.
true → Encryption check is performed.
false → Encryption check is not performed.
Running and Testing the Action
Run the action in Preview mode.
If successful, the specified Object Key is completely deleted from the Bucket.
If unsuccessful, the bucket name, key, or connection information should be checked via the error message.
Test Example: For AWS S3, you can verify whether the file has been deleted by running the command aws s3 ls s3://kuika-media-storage/user_123/ from the terminal.