This use case is only accessible if setting default RepositoryAttributes is enabled in the Runtime configuration. By default, this is only the case for the App and not for the Connector.

If setting default RepositoryAttributes is enabled, for every IdentityAttribute value type exactly one RepositoryAttribute will have the property isDefault set, given that at least one RepositoryAttribute of that value type exists. By default, this is the first RepositoryAttribute of that value type that was created. However, if the default RepositoryAttribute is succeeded, its successor will become the new default RepositoryAttribute. This use case allows you to change the default RepositoryAttribute.

Parameters

  • The attributeId of the RepositoryAttribute that is to be the new default RepositoryAttribute.

On Success

  • The RepositoryAttribute belonging to the input attributeId has isDefault set and is returned. Further, the former default RepositoryAttribute has isDefault unset.

On Failure

  • The default RepositoryAttribute can’t be changed if the provided attributeId doesn’t correlate to a RepositoryAttribute.
  • The default RepositoryAttribute can’t be changed if the provided attributeId correlates to a RepositoryAttribute with a successor.
  • The default RepositoryAttribute can’t be changed if the parameters are malformed.