summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorsonu.kumar <sonu.kumar@nectechnologies.in>2016-09-28 11:23:42 +0530
committersonu.kumar <sonu.kumar@nectechnologies.in>2016-09-28 11:23:42 +0530
commitf16d567004e518fe027112ace6335c54e82db5aa (patch)
tree41fc3934ba58a784b0a9daf5e2d351571c6b40bf /api-ref
parentcc981cf4b947b9d9d356bde19161e6daa30f0b1d (diff)
downloaddesignate-f16d567004e518fe027112ace6335c54e82db5aa.tar.gz
Add API description for deleting zone export record to api-ref
Change-Id: I596f1bae94cd963faddc7921bc240da02b91fed5
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/dns-api-v2-zone-export.inc33
1 files changed, 33 insertions, 0 deletions
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