Skip to content

Latest commit

 

History

History
300 lines (196 loc) · 8.78 KB

File metadata and controls

300 lines (196 loc) · 8.78 KB

instana_client.AuthenticationApi

All URIs are relative to https://unit-tenant.instana.io

Method HTTP request Description
delete_google_sso_config DELETE /api/settings/authentication/googleSSO Delete Google SSO configuration
delete_ldap_config DELETE /api/settings/authentication/ldap Delete LDAP configuration
delete_oidc_config DELETE /api/settings/authentication/oidc Delete OIDC configuration
delete_saml_config DELETE /api/settings/authentication/saml Delete SAML configuration

delete_google_sso_config

delete_google_sso_config()

Delete Google SSO configuration

Delete the corresponding tenants Google SSO configuration.

Example

  • Api Key Authentication (ApiKeyAuth):
import instana_client
from instana_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://unit-tenant.instana.io
# See configuration.py for a list of all supported configuration parameters.
configuration = instana_client.Configuration(
    host = "https://unit-tenant.instana.io"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Enter a context with an instance of the API client
with instana_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = instana_client.AuthenticationApi(api_client)

    try:
        # Delete Google SSO configuration
        api_instance.delete_google_sso_config()
    except Exception as e:
        print("Exception when calling AuthenticationApi->delete_google_sso_config: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 Successful - no content to return. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_ldap_config

delete_ldap_config()

Delete LDAP configuration

Delete the corresponding tenants LDAP configuration.

Example

  • Api Key Authentication (ApiKeyAuth):
import instana_client
from instana_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://unit-tenant.instana.io
# See configuration.py for a list of all supported configuration parameters.
configuration = instana_client.Configuration(
    host = "https://unit-tenant.instana.io"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Enter a context with an instance of the API client
with instana_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = instana_client.AuthenticationApi(api_client)

    try:
        # Delete LDAP configuration
        api_instance.delete_ldap_config()
    except Exception as e:
        print("Exception when calling AuthenticationApi->delete_ldap_config: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 Successful - no content to return. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_oidc_config

delete_oidc_config()

Delete OIDC configuration

Delete the corresponding tenants OIDC configuration.

Example

  • Api Key Authentication (ApiKeyAuth):
import instana_client
from instana_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://unit-tenant.instana.io
# See configuration.py for a list of all supported configuration parameters.
configuration = instana_client.Configuration(
    host = "https://unit-tenant.instana.io"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Enter a context with an instance of the API client
with instana_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = instana_client.AuthenticationApi(api_client)

    try:
        # Delete OIDC configuration
        api_instance.delete_oidc_config()
    except Exception as e:
        print("Exception when calling AuthenticationApi->delete_oidc_config: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 Successful - no content to return. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_saml_config

delete_saml_config()

Delete SAML configuration

Delete the corresponding tenants SAML configuration.

Example

  • Api Key Authentication (ApiKeyAuth):
import instana_client
from instana_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://unit-tenant.instana.io
# See configuration.py for a list of all supported configuration parameters.
configuration = instana_client.Configuration(
    host = "https://unit-tenant.instana.io"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: ApiKeyAuth
configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer'

# Enter a context with an instance of the API client
with instana_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = instana_client.AuthenticationApi(api_client)

    try:
        # Delete SAML configuration
        api_instance.delete_saml_config()
    except Exception as e:
        print("Exception when calling AuthenticationApi->delete_saml_config: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
204 Successful - no content to return. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]