| 123456789101112131415161718192021222324252627282930313233343536373839 | --:api: put-privileges:request: PutPrivilegesRequest:response: PutPrivilegesResponse--[id="{upid}-{api}"]=== Put Privileges APIApplication privileges can be created or updated using this API.[id="{upid}-{api}-request"]==== Put Privileges RequestA +{request}+ contains list of application privileges thatneed to be created or updated. Each application privilegeconsists of an application name, application privilege,set of actions and optional metadata.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-request]--------------------------------------------------include::../execution.asciidoc[][id="{upid}-{api}-response"]==== Put Privileges ResponseThe returned +{response}+ contains the information about the statusfor each privilege present in the +{request}+. The status would be`true` if the privilege was created, `false` if the privilege was updated.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-response]--------------------------------------------------<1> The response contains the status for given application name andprivilege name. The status would be `true` if the privilege was created,`false` if the privilege was updated.
 |