Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.mfa_duo_configimportMfaDuoConfigfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprinttry:# Configuration of Duo MFA methodapi_response=api_instance.get_mfa_duo_config()# Below is a request that includes all optional parameters# api_response = api_instance.get_mfa_duo_config()print("The response of MFAConfigurationApi->get_mfa_duo_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling MFAConfigurationApi->get_mfa_duo_config: %s\n"%e)
Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.kba_questionimportKbaQuestionfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintall_languages=allLanguages=true# bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional) # bool | Indicator whether the question text should be returned in all configured languages * If true, the question text is returned in all languages that it is configured in. * If false, the question text is returned in the user locale if available, else for the default locale. * If not passed, it behaves the same way as passing this parameter as false (optional)try:# Configuration of KBA MFA methodapi_response=api_instance.get_mfa_kba_config()# Below is a request that includes all optional parameters# api_response = api_instance.get_mfa_kba_config(all_languages)print("The response of MFAConfigurationApi->get_mfa_kba_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling MFAConfigurationApi->get_mfa_kba_config: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.mfa_okta_configimportMfaOktaConfigfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprinttry:# Configuration of Okta MFA methodapi_response=api_instance.get_mfa_okta_config()# Below is a request that includes all optional parameters# api_response = api_instance.get_mfa_okta_config()print("The response of MFAConfigurationApi->get_mfa_okta_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling MFAConfigurationApi->get_mfa_okta_config: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.mfa_duo_configimportMfaDuoConfigfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintmfa_duo_config={"accessKey":"qw123Y3QlA5UqocYpdU3rEkzrK2D497y","host":"example.com","configProperties":{"skey":"qwERttyZx1CdlQye2Vwtbsjr3HKddy4BAiCXjc5x","ikey":"Q123WE45R6TY7890ZXCV"},"mfaMethod":"duo-web","enabled":true,"identityAttribute":"email"}# MfaDuoConfig | try:# Set Duo MFA configurationResult=mfa_duo_config.from_json(mfa_duo_config)api_response=api_instance.set_mfa_duo_config(Result)# Below is a request that includes all optional parameters# api_response = api_instance.set_mfa_duo_config(Result)print("The response of MFAConfigurationApi->set_mfa_duo_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling MFAConfigurationApi->set_mfa_duo_config: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.mfa_okta_configimportMfaOktaConfigfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintmfa_okta_config={"accessKey":"qw123Y3QlA5UqocYpdU3rEkzrK2D497y","host":"example.com","mfaMethod":"okta-verify","enabled":true,"identityAttribute":"email"}# MfaOktaConfig | try:# Set Okta MFA configurationResult=mfa_okta_config.from_json(mfa_okta_config)api_response=api_instance.set_mfa_okta_config(Result)# Below is a request that includes all optional parameters# api_response = api_instance.set_mfa_okta_config(Result)print("The response of MFAConfigurationApi->set_mfa_okta_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling MFAConfigurationApi->set_mfa_okta_config: %s\n"%e)
Set MFA KBA configuration
This API sets answers to challenge questions. Any configured questions omitted from the request are removed from user KBA configuration.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.kba_answer_request_itemimportKbaAnswerRequestItemfromsailpoint.v2024.models.kba_answer_response_itemimportKbaAnswerResponseItemfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprint[{id=173423,answer=822cd15d6c15aa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a0859a2fea34},{id=c54fee53-2d63-4fc5-9259-3e93b9994135,answer=9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08}]# List[KbaAnswerRequestItem] | kba_answer_request_item={"answer":"Your answer","id":"c54fee53-2d63-4fc5-9259-3e93b9994135"}# List[KbaAnswerRequestItem] | try:# Set MFA KBA configurationResult=kba_answer_request_item.from_json(kba_answer_request_item)api_response=api_instance.set_mfakba_config(Result)# Below is a request that includes all optional parameters# api_response = api_instance.set_mfakba_config(Result)print("The response of MFAConfigurationApi->set_mfakba_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling MFAConfigurationApi->set_mfakba_config: %s\n"%e)
MFA method's test configuration
This API validates that the configuration is valid and will properly authenticate with the MFA provider identified by the method path parameter.
The result of configuration test for the MFA provider.
MfaConfigTestResponse
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v2024fromsailpoint.v2024.models.mfa_config_test_responseimportMfaConfigTestResponsefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintmethod='okta-verify'# str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'. # str | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'.try:# MFA method's test configurationapi_response=api_instance.test_mfa_config(method)# Below is a request that includes all optional parameters# api_response = api_instance.test_mfa_config(method)print("The response of MFAConfigurationApi->test_mfa_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling MFAConfigurationApi->test_mfa_config: %s\n"%e)