delete-privileges.asciidoc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --
  2. :api: delete-privileges
  3. :request: DeletePrivilegesRequest
  4. :response: DeletePrivilegesResponse
  5. --
  6. [id="{upid}-{api}"]
  7. === Delete Privileges API
  8. This API can be used to delete application privileges.
  9. [id="{upid}-{api}-request"]
  10. ==== Delete Application Privileges Request
  11. A +{request}+ has two arguments
  12. ["source","java",subs="attributes,callouts,macros"]
  13. --------------------------------------------------
  14. include-tagged::{doc-tests-file}[{api}-request]
  15. --------------------------------------------------
  16. <1> the name of application
  17. <2> the name(s) of the privileges to delete that belong to the given application
  18. include::../execution.asciidoc[]
  19. [id="{upid}-{api}-response"]
  20. ==== Delete Application Privileges Response
  21. The returned +{response}+ allows to retrieve information about the executed
  22. operation as follows:
  23. ["source","java",subs="attributes,callouts,macros"]
  24. --------------------------------------------------
  25. include-tagged::{doc-tests-file}[{api}-response]
  26. --------------------------------------------------
  27. <1> the name of the application
  28. <2> whether the given privilege was found and deleted