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
$IdentityProfileId="2b838de9-db9b-abcf-e646-d4f274ad4238"# String | Identity Profile ID.$LifecycleStateId="ef38f94347e94562b5bb8424a56397d8"# String | Lifecycle State ID.# Get Lifecycle Statetry{Get-BetaLifecycleStates-BetaIdentityProfileId$IdentityProfileId-BetaLifecycleStateId$LifecycleStateId# Below is a request that includes all optional parameters# Get-BetaLifecycleStates -BetaIdentityProfileId $IdentityProfileId -BetaLifecycleStateId $LifecycleStateId }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Get-BetaLifecycleStates"Write-Host$_.ErrorDetails}
A list of lifecycle state update operations according to the JSON Patch standard. The following fields can be updated: * enabled * description * accountActions * accessProfileIds * emailNotificationOption
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-patch+json
Accept: application/json
Example
$IdentityProfileId="2b838de9-db9b-abcf-e646-d4f274ad4238"# String | Identity Profile ID.$LifecycleStateId="ef38f94347e94562b5bb8424a56397d8"# String | Lifecycle State ID.# JsonPatchOperation[] | A list of lifecycle state update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following fields can be updated: * enabled * description * accountActions * accessProfileIds * emailNotificationOption $JsonPatchOperation=@"{
"op" : "replace",
"path" : "/description",
"value" : "Newdescription"
}"@# Update Lifecycle Statetry{$Result=ConvertFrom-JsonToJsonPatchOperation-Json$JsonPatchOperationUpdate-BetaLifecycleStates-BetaIdentityProfileId$IdentityProfileId-BetaLifecycleStateId$LifecycleStateId-BetaJsonPatchOperation$Result# Below is a request that includes all optional parameters# Update-BetaLifecycleStates -BetaIdentityProfileId $IdentityProfileId -BetaLifecycleStateId $LifecycleStateId -BetaJsonPatchOperation $JsonPatchOperation }catch{Write-Host$_.Exception.Response.StatusCode.value__"Exception occurred when calling Update-BetaLifecycleStates"Write-Host$_.ErrorDetails}