Skip to content

Retrieve an Active Directory connection

Request

Early Access
OPA roles:
  • end_user

Retrieves an Active Directory connection that you (as the request user) can access

Security
bearerAuth
Path
team_namestringrequired

The name of your team

ad_connection_idstring, (regex)(schemas-UUID)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...read-onlyrequired

The UUID of an Active Directory connection

Example:a747a818-a4c4-4446-8a87-704216495a08
curl -i -X GET \
  'https://{org_name}.pam.okta.com/v1/teams/{team_name}/active_directory/a747a818-a4c4-4446-8a87-704216495a08' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
domainstringread-onlyrequired

The name of the Active Directory domain

idstring, (regex)(schemas-UUID)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...read-onlyrequired

The UUID of the Active Directory domain

Example:"a747a818-a4c4-4446-8a87-704216495a08"
okta_app_instance_idstringread-onlyrequired

The instance ID of the Active Directory app in your Okta org

statusstring(ADConnectionStatus)required

All possible statuses of a connection.

Enum ValueDescription
connected

Indicates that the connection is in use and can be used to define account assignment rules

disconnected

Indicates that the connection is not in use and cannot be used to define account assignment rules

inactive

Indicates that the connection is deactivated in the Okta Admin Console. Regardless of its previous connection state within OPA, it remains inactive as per the source system.

Response
{ "domain": "string", "id": "a747a818-a4c4-4446-8a87-704216495a08", "okta_app_instance_id": "string", "status": "connected" }