• 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.