Last updated: 2021-06-09 11:32:11

    1. API Description

    Domain name for API request:

    This API is used to query the list of SAML identity providers.

    A maximum of 20 requests can be initiated per second for this API.

    We recommend you to use API Explorer
    Try it
    API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

    2. Input Parameters

    The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

    Parameter Name Required Type Description
    Action Yes String Common parameter. The value used for this API: ListSAMLProviders.
    Version Yes String Common parameter. The value used for this API: 2019-01-16.
    Region No String Common parameter. This parameter is not required for this API.

    3. Output Parameters

    Parameter Name Type Description
    TotalCount Integer Total number of SAML identity providers
    SAMLProviderSet Array of SAMLProviderInfo List of SAML identity providers
    RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

    4. Example

    Example1 Querying IdP list

    This example shows you how to query the list of IdPs.

    Input Example

    &<Common request parameters>

    Output Example

    "Response": {
      "TotalCount": 6,
      "SAMLProviderSet": [
          "Name": "saml-sdk",
          "Description": "sdk",
          "CreateTime": "2018-12-17 16:33:35",
          "ModifyTime": "2019-02-26 13:34:58"
          "Name": "TestSAML",
          "Description": "111",
          "CreateTime": "2018-11-08 19:27:27",
          "ModifyTime": "2019-04-30 11:23:12"
          "Name": "OneLogin",
          "Description": "ONeLogin",
          "CreateTime": "2018-11-04 20:36:41",
          "ModifyTime": "2018-11-23 23:56:09"
          "Name": "Azure_AD",
          "Description": "Azure AD",
          "CreateTime": "2018-11-04 16:44:25",
          "ModifyTime": "2019-02-14 10:38:27"
          "Name": "api-test",
          "Description": "API test",
          "CreateTime": "2018-10-30 11:40:19",
          "ModifyTime": "2018-10-30 11:40:19"
          "Name": "okta",
          "Description": "okta",
          "CreateTime": "2018-09-17 17:18:03",
          "ModifyTime": "2018-09-17 17:18:03"
      "RequestId": "d644fa50-7e54-4448-84d8-64cb4dd9f737"

    5. Developer Resources


    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    There is no error code related to the API business logic. For other error codes, please see Common Error Codes.