Applicable in Service-class directives.
The delete-file function deletes a file when the client sends a request whose method is DELETE. It deletes the file indicated by the URL if the user is authorized and the server has the needed file system privileges.
When remote file manipulation is enabled in the server, the obj.conf file contains a Service-class function that invokes delete-file when the request method is DELETE.
The following table describes parameters for the delete-file function.
Table 4–56 delete-file Parameters
Parameter |
Description |
---|---|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
(Optional) Common to all Service-class functions. |
|
bucket |
(Optional) Common to all obj.conf functions. |
Service fn="delete-file" method="DELETE" |