Effective May 1, 2026, Okta will no longer sell or renew Advanced Server Access. Existing customers must migrate to Okta Privileged Access within one year of their next scheduled renewal date to maintain service. Read the FAQ | Learn about Okta Privileged Access
Lists all AD Connections for your Team
OK
{- "list": [
- {
- "id": "99006ae2-db7e-4735-b6bc-c726e6ae81c4",
- "name": "test",
- "gateway_id": "5a3af768-063f-4a12-a056-8ef24e555555",
- "domain": "foo.example.com",
- "domain_controllers": [
- "1.2.3.4",
- "bar.example.com"
]
}
]
}Creates an AD Connection
Created
{- "domain": "foo.example.com",
- "domain_controllers": [
- "1.2.3.4",
- "bar.example.com"
], - "gateway_id": "5a3af768-063f-4a12-a056-8ef24e555555",
- "name": "test",
- "service_account_password": "p@$$w0rD",
- "service_account_username": "admin"
}{- "domain": "foo.example.com",
- "domain_controllers": [
- "1.2.3.4",
- "bar.example.com"
], - "gateway_id": "5a3af768-063f-4a12-a056-8ef24e555555",
- "id": "99006ae2-db7e-4735-b6bc-c726e6ae81c4",
- "name": "test",
- "service_account_username": "admin"
}Retrieves the properties of a specified AD Connection
OK
{- "active_task_settings_id": "5a3af768-063f-4a12-a056-8ef24e123483",
- "domain": "foo.example.com",
- "domain_controllers": [
- "1.2.3.4",
- "bar.example.com"
], - "gateway_id": "5a3af768-063f-4a12-a056-8ef24e555555",
- "gateway_name": "gateway1",
- "id": "99006ae2-db7e-4735-b6bc-c726e6ae81c4",
- "name": "test",
- "service_account_username": "admin"
}Updates the properties of a specified AD Connection
No Content
{- "domain": "foo.example.com",
- "domain_controllers": [
- "1.2.3.4",
- "bar.example.com"
], - "gateway_id": "5a3af768-063f-4a12-a056-8ef24e555555",
- "name": "test",
- "service_account_password": "p@$$w0rD",
- "service_account_username": "admin"
}Deletes a specified AD Connection
No Content
Lists all server sync jobs for an Active Directory connection
OK
{- "list": [
- {
- "access_address_attribute": "access_address",
- "additional_attribute_mapping": {
- "label": "region",
- "value": "server_region"
}, - "alt_names_attributes": "alt_name",
- "bastion_attribute": "bastion",
- "frequency": 24,
- "host_name_attribute": "host_name",
- "id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "is_active": true,
- "is_guid": true,
- "name": "Server Sync Job - 1",
- "os_attribute": "os",
- "recent_task_result": {
- "ad_task_settings_id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "ad_task_settings_name": "Server Sync Job - 1",
- "ad_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "p05ty0e4-a7tv-erp0-r6ynh-robt937s84hf",
- "rules_summary_status": "done",
- "status": {
- "summary": null,
- "detailed_summary": null
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}, - "rule_assignments": {
- "base_dn": "string",
- "ldap_query_filter": "string",
- "priority": "string",
- "project_id": "string"
}, - "start_hour_utc": "2022-08-24T14:15:22Z"
}
]
}Creates a server sync job for an Active Directory connection
Created
{- "access_address_attribute": "access_address",
- "additional_attribute_mapping": {
- "label": "region",
- "value": "server_region"
}, - "alt_names_attributes": "alt_name",
- "bastion_attribute": "bastion",
- "frequency": 24,
- "host_name_attribute": "host_name",
- "id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "is_active": true,
- "is_guid": true,
- "name": "Server Sync Job - 1",
- "os_attribute": "os",
- "rule_assignments": {
- "base_dn": "string",
- "ldap_query_filter": "string",
- "priority": "string",
- "project_id": "string"
}, - "start_hour_utc": "2022-08-24T14:15:22Z"
}{- "access_address_attribute": "access_address",
- "additional_attribute_mapping": {
- "label": "region",
- "value": "server_region"
}, - "alt_names_attributes": "alt_name",
- "bastion_attribute": "bastion",
- "frequency": 24,
- "host_name_attribute": "host_name",
- "id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "is_active": true,
- "is_guid": true,
- "name": "Server Sync Job - 1",
- "os_attribute": "os",
- "recent_task_result": {
- "ad_task_settings_id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "ad_task_settings_name": "Server Sync Job - 1",
- "ad_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "p05ty0e4-a7tv-erp0-r6ynh-robt937s84hf",
- "rules_summary_status": "done",
- "status": {
- "summary": null,
- "detailed_summary": null
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}, - "rule_assignments": {
- "base_dn": "string",
- "ldap_query_filter": "string",
- "priority": "string",
- "project_id": "string"
}, - "start_hour_utc": "2022-08-24T14:15:22Z"
}Retrieves a server sync job for an Active Directory connection
OK
{- "access_address_attribute": "access_address",
- "additional_attribute_mapping": {
- "label": "region",
- "value": "server_region"
}, - "alt_names_attributes": "alt_name",
- "bastion_attribute": "bastion",
- "frequency": 24,
- "host_name_attribute": "host_name",
- "id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "is_active": true,
- "is_guid": true,
- "name": "Server Sync Job - 1",
- "os_attribute": "os",
- "recent_task_result": {
- "ad_task_settings_id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "ad_task_settings_name": "Server Sync Job - 1",
- "ad_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "p05ty0e4-a7tv-erp0-r6ynh-robt937s84hf",
- "rules_summary_status": "done",
- "status": {
- "summary": null,
- "detailed_summary": null
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}, - "rule_assignments": {
- "base_dn": "string",
- "ldap_query_filter": "string",
- "priority": "string",
- "project_id": "string"
}, - "start_hour_utc": "2022-08-24T14:15:22Z"
}Updates a server sync job for an Active Directory connection
OK
{- "access_address_attribute": "access_address",
- "additional_attribute_mapping": {
- "label": "region",
- "value": "server_region"
}, - "alt_names_attributes": "alt_name",
- "bastion_attribute": "bastion",
- "frequency": 24,
- "host_name_attribute": "host_name",
- "id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "is_active": true,
- "is_guid": true,
- "name": "Server Sync Job - 1",
- "os_attribute": "os",
- "rule_assignments": {
- "base_dn": "string",
- "ldap_query_filter": "string",
- "priority": "string",
- "project_id": "string"
}, - "start_hour_utc": "2022-08-24T14:15:22Z"
}{- "access_address_attribute": "access_address",
- "additional_attribute_mapping": {
- "label": "region",
- "value": "server_region"
}, - "alt_names_attributes": "alt_name",
- "bastion_attribute": "bastion",
- "frequency": 24,
- "host_name_attribute": "host_name",
- "id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "is_active": true,
- "is_guid": true,
- "name": "Server Sync Job - 1",
- "os_attribute": "os",
- "recent_task_result": {
- "ad_task_settings_id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "ad_task_settings_name": "Server Sync Job - 1",
- "ad_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "p05ty0e4-a7tv-erp0-r6ynh-robt937s84hf",
- "rules_summary_status": "done",
- "status": {
- "summary": null,
- "detailed_summary": null
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}, - "rule_assignments": {
- "base_dn": "string",
- "ldap_query_filter": "string",
- "priority": "string",
- "project_id": "string"
}, - "start_hour_utc": "2022-08-24T14:15:22Z"
}Removes a server sync job for an Active Directory connection
No Content
Deactivates an Active Directory server sync job
No Content
Updates the schedule for a server sync job for an Active Directory connection
No Content
{- "frequency": 24,
- "start_hour_utc": "2022-08-24T14:15:22Z"
}Lists all results for a specified server sync job
OK
{- "list": [
- {
- "ad_task_settings_id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "ad_task_settings_name": "Server Sync Job - 1",
- "ad_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "p05ty0e4-a7tv-erp0-r6ynh-robt937s84hf",
- "rules_summary_status": "done",
- "status": {
- "summary": null,
- "detailed_summary": null
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}
]
}Retrieves the details summary of a specified server sync job
OK
{- "ad_task_settings_id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "ad_task_settings_name": "Server Sync Job - 1",
- "ad_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "p05ty0e4-a7tv-erp0-r6ynh-robt937s84hf",
- "rules_summary_status": "done",
- "status": {
- "summary": null,
- "detailed_summary": null
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}Creates a test request for the specified server sync job for an Active Directory connection
Created
{- "ad_task_settings_id": "229a1621-a1g2-6366-q84d-da4vf2e76t2b",
- "ad_task_settings_name": "Server Sync Job - 1",
- "ad_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "p05ty0e4-a7tv-erp0-r6ynh-robt937s84hf",
- "rules_summary_status": "done",
- "status": {
- "summary": null,
- "detailed_summary": null
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}Lists all user sync jobs for an Active Directory connection
OK
{- "list": [
- {
- "base_dn": "string",
- "frequency": 24,
- "id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "is_active": true,
- "LDAP_query_filter": "string",
- "name": "User Sync Job - 1",
- "recent_task_result": {
- "ad_user_sync_task_settings_id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "ad_user_sync_task_settings_name": "User Sync Job - 1",
- "ad_user_sync_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "195v2024-d7t2-4311-b84d-ha8vj2eb6tsa",
- "status": {
- "summary": "string",
- "detailed_summary": "string"
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}, - "SID_Field": "objectsid",
- "start_hour_utc": "2022-08-24T14:15:22Z",
- "UPN_Field": "userprincipalname"
}
]
}Creates a user sync job for an Active Directory connection
Created
{- "base_dn": "string",
- "frequency": 24,
- "is_active": true,
- "LDAP_query_filter": "string",
- "name": "User Sync Job - 1",
- "SID_Field": "objectsid",
- "start_hour_utc": "2022-08-24T14:15:22Z",
- "UPN_Field": "userprincipalname"
}{- "base_dn": "string",
- "frequency": 24,
- "id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "is_active": true,
- "LDAP_query_filter": "string",
- "name": "User Sync Job - 1",
- "recent_task_result": {
- "ad_user_sync_task_settings_id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "ad_user_sync_task_settings_name": "User Sync Job - 1",
- "ad_user_sync_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "195v2024-d7t2-4311-b84d-ha8vj2eb6tsa",
- "status": {
- "summary": "string",
- "detailed_summary": "string"
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}, - "SID_Field": "objectsid",
- "start_hour_utc": "2022-08-24T14:15:22Z",
- "UPN_Field": "userprincipalname"
}Retrieves a user sync job for an Active Directory connection
OK
{- "base_dn": "string",
- "frequency": 24,
- "id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "is_active": true,
- "LDAP_query_filter": "string",
- "name": "User Sync Job - 1",
- "recent_task_result": {
- "ad_user_sync_task_settings_id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "ad_user_sync_task_settings_name": "User Sync Job - 1",
- "ad_user_sync_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "195v2024-d7t2-4311-b84d-ha8vj2eb6tsa",
- "status": {
- "summary": "string",
- "detailed_summary": "string"
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}, - "SID_Field": "objectsid",
- "start_hour_utc": "2022-08-24T14:15:22Z",
- "UPN_Field": "userprincipalname"
}Updates a user sync job for an Active Directory connection
OK
{- "base_dn": "string",
- "frequency": 24,
- "is_active": true,
- "LDAP_query_filter": "string",
- "name": "User Sync Job - 1",
- "SID_Field": "objectsid",
- "start_hour_utc": "2022-08-24T14:15:22Z",
- "UPN_Field": "userprincipalname"
}{- "base_dn": "string",
- "frequency": 24,
- "id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "is_active": true,
- "LDAP_query_filter": "string",
- "name": "User Sync Job - 1",
- "recent_task_result": {
- "ad_user_sync_task_settings_id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "ad_user_sync_task_settings_name": "User Sync Job - 1",
- "ad_user_sync_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "195v2024-d7t2-4311-b84d-ha8vj2eb6tsa",
- "status": {
- "summary": "string",
- "detailed_summary": "string"
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}, - "SID_Field": "objectsid",
- "start_hour_utc": "2022-08-24T14:15:22Z",
- "UPN_Field": "userprincipalname"
}Removes a user sync job for an Active Directory connection
No Content
Updates the schedule for a user sync job for an Active Directory connection
No Content
{- "base_dn": "string",
- "frequency": 24,
- "is_active": true,
- "LDAP_query_filter": "string",
- "name": "User Sync Job - 1",
- "SID_Field": "objectsid",
- "start_hour_utc": "2022-08-24T14:15:22Z",
- "UPN_Field": "userprincipalname"
}Updates the state of a user sync job for an Active Directory connection
No Content
{- "is_active": true
}Creates a test request for the specified user sync job for an Active Directory connection
Created
{- "ad_user_sync_task_settings_id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "ad_user_sync_task_settings_name": "User Sync Job - 1",
- "ad_user_sync_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "195v2024-d7t2-4311-b84d-ha8vj2eb6tsa",
- "status": {
- "summary": "string",
- "detailed_summary": "string"
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}Lists all results for a specified user sync job
OK
{- "list": [
- {
- "ad_user_sync_task_settings_id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "ad_user_sync_task_settings_name": "User Sync Job - 1",
- "ad_user_sync_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "195v2024-d7t2-4311-b84d-ha8vj2eb6tsa",
- "status": {
- "summary": "string",
- "detailed_summary": "string"
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}
]
}Retrieves the details summary of a specified user sync job
OK
{- "ad_user_sync_task_settings_id": "226a1922-a1c2-4316-b84d-da4vf2e76t2a",
- "ad_user_sync_task_settings_name": "User Sync Job - 1",
- "ad_user_sync_test_request_id": "string",
- "created_at": "2022-08-25T00:00:00Z",
- "id": "195v2024-d7t2-4311-b84d-ha8vj2eb6tsa",
- "status": {
- "summary": "string",
- "detailed_summary": "string"
}, - "task_state": "done",
- "updated_at": "2022-08-25T00:10:00Z"
}