API - Who mastered the account

Is there an API call that will tell me if an account is Active Directory mastered or Okta mastered?

I see there is a “type” field but that just seems to indicate that it is a “user” type.

Hi @BeejC ,

You can use of these:

  1. If AD is the only profile master (other than Okta) and also credential master, you can users API and look for credentials object which contains the provider name. ACTIVE_DIRECTORY or OKTA

  2. If above does not help, you can create a custom attribute on Okta user profile for ex: master and update AD → Okta mapping to set it to AD for AD mastered users. You can then use Okta Users API to look at that custom attribute.

Thank you

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.