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.
ListAccessModelMetadataAttribute401Response
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.
ListAccessModelMetadataAttribute429Response
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'.# Delete mfa method configurationtry{Remove-BetaMFAConfig-Method$Method# Below is a request that includes all optional parameters# Remove-BetaMFAConfig -Method $Method }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Remove-BetaMFAConfig"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.
ListAccessModelMetadataAttribute401Response
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.
ListAccessModelMetadataAttribute429Response
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-BetaMFADuoConfig# Below is a request that includes all optional parameters# Get-BetaMFADuoConfig }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Get-BetaMFADuoConfig"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.
ListAccessModelMetadataAttribute401Response
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.
ListAccessModelMetadataAttribute429Response
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-BetaMFAKbaConfig# Below is a request that includes all optional parameters# Get-BetaMFAKbaConfig -AllLanguages $AllLanguages }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Get-BetaMFAKbaConfig"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.
ListAccessModelMetadataAttribute401Response
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.
ListAccessModelMetadataAttribute429Response
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-BetaMFAOktaConfig# Below is a request that includes all optional parameters# Get-BetaMFAOktaConfig }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Get-BetaMFAOktaConfig"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.
ListAccessModelMetadataAttribute401Response
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.
ListAccessModelMetadataAttribute429Response
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-BetaMFADuoConfig-MfaDuoConfig$Result# Below is a request that includes all optional parameters# Set-BetaMFADuoConfig -MfaDuoConfig $Result }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Set-BetaMFADuoConfig"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.
ListAccessModelMetadataAttribute401Response
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.
ListAccessModelMetadataAttribute429Response
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
$KbaAnswerRequestItem=@"{
"answer" : "Youranswer",
"id" : "c54fee53-2d63-4fc5-9259-3e93b9994135"
}"@# KbaAnswerRequestItem[] | # Set mfa kba configurationtry{$Result=ConvertFrom-JsonToKbaAnswerRequestItem-Json$KbaAnswerRequestItemSet-BetaMFAKBAConfig-KbaAnswerRequestItem$Result# Below is a request that includes all optional parameters# Set-BetaMFAKBAConfig -KbaAnswerRequestItem $Result }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Set-BetaMFAKBAConfig"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.
ListAccessModelMetadataAttribute401Response
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.
ListAccessModelMetadataAttribute429Response
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-BetaMFAOktaConfig-MfaOktaConfig$Result# Below is a request that includes all optional parameters# Set-BetaMFAOktaConfig -MfaOktaConfig $Result }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Set-BetaMFAOktaConfig"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.
ListAccessModelMetadataAttribute401Response
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.
ListAccessModelMetadataAttribute429Response
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-BetaMFAConfig-Method$Method# Below is a request that includes all optional parameters# Test-BetaMFAConfig -Method $Method }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Test-BetaMFAConfig"Write-Host$_.ErrorDetails}