Management Plane API > Networking > Services > DNS

Clear the current cache of the DNS forwarder.

Clear the current cache of the DNS forwarder.

Request:

Method:
POST
URI Path(s):
/api/v1/dns/forwarders/<forwarder-id>?action=clear_cache
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

POST https://<nsx-mgr>/api/v1/dns/forwarders/1b6cb97f-ffa3-407c-b2ed-a9616feb95dd?action=clear_cache

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

dns_forwarder

Additional Errors: