1. Tasks
  2. Delete File

Tasks

Delete File

The Delete File task deletes a file from the Stubber file system.

For cases of extreme sensitivity, the delete_file task can be used to remove a file completely from the Stubber file system.

Basic usage

loading...

Parameters

fileuuid
optional
string

The UUID of the file to be deleted.


filename
optional
string

The name of the file to be deleted. This only works for files on the same stub where the task is executed.


Result

loading...

Properties

fileuuid

integer

The UUID of the file that was deleted.


Examples

Request with interpolated fileuuid

loading...

Request with filename

loading...