Policy > Security > East West Security > Distributed Firewall > Task

Cancel a running export task

This operation cancels an export task. Task needs to be in running state.

Request:

Method:
POST
URI Path(s):
/policy/api/v1/infra/settings/firewall/export?action=cancel
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

POST https://<policy-mgr>/policy/api/v1/infra/settings/firewall/export?action=cancel

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ExportTask+

Example Response:

{ "id": "export_task", "status": "canceled", "description": "Export of the current firewall configuration.", "exported_file": null, "failure_msg": null, "user": "admin", "start_time": 1587491995996 }

Required Permissions:

read

Feature:

policy_dfw

Additional Errors: