Accessing the PingAccess administrative API - PingAccess - 7.0

PingAccess

bundle
pingaccess-70
ft:publication_title
PingAccess
Product_Version_ce
PingAccess 7.0
category
Product
pa-70
pingaccess
ContentType_ce

Access the PingAccess administrative API.

Send an HTTP request 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.