You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "leslie-tsang (via GitHub)" <gi...@apache.org> on 2023/07/14 02:07:51 UTC
[GitHub] [apisix] leslie-tsang commented on a diff in pull request #9810: feat: support force delete resource
leslie-tsang commented on code in PR #9810:
URL: https://github.com/apache/apisix/pull/9810#discussion_r1263214854
##########
docs/en/latest/admin-api.md:
##########
@@ -103,6 +103,33 @@ deployment:
This will find the environment variable `ADMIN_KEY` first, and if it does not exist, it will use `edd1c9f034335f136f87ad84b625c8f1` as the default value.
+### Force Delete
+
+By default, the Admin API checks for references between resources and will refuse to delete resources in use.
+
+You can make a force deletion by adding the request header `X-Force-Delete: true` to the delete request, for example:
Review Comment:
I prefer placing the parameter in `uri_args` to keep this interface as simple as possible. :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org