v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
ExternalAuthentication
External Authentication

Return external authentication links

This function lists the external authentication links to the current cPanel account.

get/ExternalAuthentication/get_authn_links

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "get_authn_links",
  "module": "ExternalAuthentication",
  "result": {
    "data": [
      {
        "link_time": 1443124604,
        "preferred_username": "username@gmail.com",
        "provider_id": "google",
        "provider_protocol": "openid_connect",
        "subject_unique_identifier": 123456789012346
      }
    ],
    "status": 1
  }
}