From f16d567004e518fe027112ace6335c54e82db5aa Mon Sep 17 00:00:00 2001 From: "sonu.kumar" Date: Wed, 28 Sep 2016 11:23:42 +0530 Subject: Add API description for deleting zone export record to api-ref Change-Id: I596f1bae94cd963faddc7921bc240da02b91fed5 --- api-ref/source/dns-api-v2-zone-export.inc | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'api-ref') diff --git a/api-ref/source/dns-api-v2-zone-export.inc b/api-ref/source/dns-api-v2-zone-export.inc index d1cf9445..6cf25846 100644 --- a/api-ref/source/dns-api-v2-zone-export.inc +++ b/api-ref/source/dns-api-v2-zone-export.inc @@ -192,3 +192,36 @@ Response Example .. literalinclude:: samples/zones/show-zone-export-content.txt :language: text + +Delete a Zone Export +==================== + +.. rest_method:: DELETE /v2/zones/tasks/exports/{zone_export_id} + +This will just delete the record of the zone export, not the exported zone. + +The zone will have to be deleted from the zone delete API + + +Normal response codes: 204 + +Error response codes: 405,404,403,401,400,503 + + +Request +------- + +.. rest_parameters:: parameters.yaml + + - x-auth-token: x-auth-token + - x-auth-all-projects: x-auth-all-projects + - x-auth-sudo-project-id: x-auth-sudo-project-id + - zone_export_id: path_zone_export_id + + +Response Parameters +------------------- + +.. rest_parameters:: parameters.yaml + + - x-openstack-request-id: x-openstack-request-id -- cgit v1.2.1