Use this API to implement organization password configuration functionality.
With this functionality in place, organization administrators can create organization-specific password configurations.
These configurations include details like custom password instructions, as well as digit token length and duration.
This API creates the password org config. Unspecified fields will use default value.
To be able to use the custom password instructions, you must set the customInstructionsEnabled field to "true".
Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:write'
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
$PasswordOrgConfig=@"{
"digitTokenLength" : 9,
"digitTokenEnabled" : true,
"digitTokenDurationMinutes" : 10,
"customInstructionsEnabled" : true
}"@# Create password org configtry{$Result=ConvertFrom-JsonToPasswordOrgConfig-Json$PasswordOrgConfigNew-BetaPasswordOrgConfig-PasswordOrgConfig$Result# Below is a request that includes all optional parameters# New-BetaPasswordOrgConfig -PasswordOrgConfig $Result }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling New-BetaPasswordOrgConfig"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
# Get password org configtry{Get-BetaPasswordOrgConfig# Below is a request that includes all optional parameters# Get-BetaPasswordOrgConfig }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Get-BetaPasswordOrgConfig"Write-Host$_.ErrorDetails}
This API updates the password org config for specified fields. Other fields will keep original value.
You must set the customInstructionsEnabled field to "true" to be able to use custom password instructions.
Requires ORG_ADMIN, API role or authorization scope of 'idn:password-org-config:write'
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
$PasswordOrgConfig=@"{
"digitTokenLength" : 9,
"digitTokenEnabled" : true,
"digitTokenDurationMinutes" : 10,
"customInstructionsEnabled" : true
}"@# Update password org configtry{$Result=ConvertFrom-JsonToPasswordOrgConfig-Json$PasswordOrgConfigSend-BetaPasswordOrgConfig-PasswordOrgConfig$Result# Below is a request that includes all optional parameters# Send-BetaPasswordOrgConfig -PasswordOrgConfig $Result }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Send-BetaPasswordOrgConfig"Write-Host$_.ErrorDetails}