Change default OwnIdentityAttribute
This use case is only accessible if setting default OwnIdentityAttributes is enabled in the Runtime configuration. By default, this is only the case for the App and not for the Connector.
If setting default OwnIdentityAttributes is enabled, for every IdentityAttribute value type exactly one OwnIdentityAttribute will have the property isDefault set, given that at least one OwnIdentityAttribute of that value type exists.
By default, this is the first OwnIdentityAttribute of that value type that was created.
However, if the default OwnIdentityAttribute is succeeded, its successor will become the new default OwnIdentityAttribute.
This use case allows you to change the default OwnIdentityAttribute.
Parameters
- The
attributeIdof the OwnIdentityAttribute that is to be the new default OwnIdentityAttribute.
On Success
- The OwnIdentityAttribute belonging to the input
attributeIdhasisDefaultset and is returned. Further, the former default OwnIdentityAttribute hasisDefaultunset.
On Failure
- The default OwnIdentityAttribute can’t be changed if the provided
attributeIddoesn’t correlate to an OwnIdentityAttribute. - The default OwnIdentityAttribute can’t be changed if the provided
attributeIdcorrelates to an OwnIdentityAttribute with a successor. - The default OwnIdentityAttribute can’t be changed if the parameters are malformed.