Accessing the PingAccess administrative API - PingAccess - 8.0

PingAccess

bundle
pingaccess-80
ft:publication_title
PingAccess
Product_Version_ce
PingAccess 8.0 (Latest)
category
Product
pa-80
pingaccess
ContentType_ce

Access the PingAccess administrative APIapplication programming interface (API) A specification of interactions available for building software to access an application or service..

Send an HTTP requestHTTP request A client transaction sent over HTTP to the server specifying a request method (such as GET, POST, DELETE) to execute against a resource or resources on the server. to this URL: https://<host>:<admin-port>/pa-admin-api/v3/api-endpoint.
Note:

You must provide appropriate administrator credentials in the request.

For example, the following cURL command will return a list of all defined applications by sending a GET request to the applications resource:

curl -k -u Administrator:Password1 -H "X-Xsrf-Header: PingAccess" https://localhost:9000/pa-admin-api/v3/applications
  • The -u Administrator:Password1 parameter sends basic authentication header with the username Administrator and password Password1.
  • The -k parameter specifies to ignore HTTPS certificate issues.
  • The -H "X-Xsrf-Header: PingAccess" parameter sends an X-XSRF-Header with value PingAccess.