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
# Configuration of Duo MFA methodtry{Get-V2024MFADuoConfig# Below is a request that includes all optional parameters# Get-V2024MFADuoConfig }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Get-V2024MFADuoConfig"Write-Host$_.ErrorDetails}
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
$AllLanguages=$false# Boolean | 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)# Configuration of KBA MFA methodtry{Get-V2024MFAKbaConfig# Below is a request that includes all optional parameters# Get-V2024MFAKbaConfig -V2024AllLanguages $AllLanguages }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Get-V2024MFAKbaConfig"Write-Host$_.ErrorDetails}
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
# Configuration of Okta MFA methodtry{Get-V2024MFAOktaConfig# Below is a request that includes all optional parameters# Get-V2024MFAOktaConfig }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Get-V2024MFAOktaConfig"Write-Host$_.ErrorDetails}
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
$MfaDuoConfig=@"{
"accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y",
"host" : "example.com",
"configProperties" : {
"skey" : "qwERttyZx1CdlQye2Vwtbsjr3HKddy4BAiCXjc5x",
"ikey" : "Q123WE45R6TY7890ZXCV"
},
"mfaMethod" : "duo-web",
"enabled" : true,
"identityAttribute" : "email"
}"@# Set Duo MFA configurationtry{$Result=ConvertFrom-JsonToMfaDuoConfig-Json$MfaDuoConfigSet-V2024MFADuoConfig-V2024MfaDuoConfig$Result# Below is a request that includes all optional parameters# Set-V2024MFADuoConfig -V2024MfaDuoConfig $MfaDuoConfig }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Set-V2024MFADuoConfig"Write-Host$_.ErrorDetails}
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
# KbaAnswerRequestItem[] | $KbaAnswerRequestItem=@"{
"answer" : "Youranswer",
"id" : "c54fee53-2d63-4fc5-9259-3e93b9994135"
}"@# Set MFA KBA configurationtry{$Result=ConvertFrom-JsonToKbaAnswerRequestItem-Json$KbaAnswerRequestItemSet-V2024MFAKBAConfig-V2024KbaAnswerRequestItem$Result# Below is a request that includes all optional parameters# Set-V2024MFAKBAConfig -V2024KbaAnswerRequestItem $KbaAnswerRequestItem }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Set-V2024MFAKBAConfig"Write-Host$_.ErrorDetails}
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
$MfaOktaConfig=@"{
"accessKey" : "qw123Y3QlA5UqocYpdU3rEkzrK2D497y",
"host" : "example.com",
"mfaMethod" : "okta-verify",
"enabled" : true,
"identityAttribute" : "email"
}"@# Set Okta MFA configurationtry{$Result=ConvertFrom-JsonToMfaOktaConfig-Json$MfaOktaConfigSet-V2024MFAOktaConfig-V2024MfaOktaConfig$Result# Below is a request that includes all optional parameters# Set-V2024MFAOktaConfig -V2024MfaOktaConfig $MfaOktaConfig }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Set-V2024MFAOktaConfig"Write-Host$_.ErrorDetails}
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
$Method="okta-verify"# String | The name of the MFA method. The currently supported method names are 'okta-verify' and 'duo-web'.# MFA method's test configurationtry{Test-V2024MFAConfig-V2024Method$Method# Below is a request that includes all optional parameters# Test-V2024MFAConfig -V2024Method $Method }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Test-V2024MFAConfig"Write-Host$_.ErrorDetails}