An Okta Privileged Access project is a collection of resources that share settings.
See Projects.
Lists all projects in the specified resource group
OK
{- "list": [
- {
- "active_resource_count": 50,
- "create_server_users": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "force_shared_ssh_users": true,
- "gateway_selector": "REGION=WEST-EU,TEAM=MARKETING",
- "id": "/regex/",
- "name": "/regex/",
- "next_unix_gid": 100,
- "next_unix_uid": 100,
- "persistent_server_user_accounts": null,
- "require_preauth_for_creds": true,
- "resource_group_id": "5f3159e9-e7ab-428e-8a87-c2ebffe407f6",
- "server_account_management": true,
- "shared_admin_user_name": "Server.Admin",
- "shared_standard_user_name": "Server.User",
- "ssh_certificate_type": "CERT_TYPE_ECDSA_256_01",
- "stale_resource_count": 0,
- "team": "Your_OPA_Team",
- "user_on_demand_period": 4294967295
}
]
}
Creates a project in the specified resource group
Created
{- "active_resource_count": 50,
- "create_server_users": true,
- "force_shared_ssh_users": true,
- "gateway_selector": "REGION=WEST-EU,TEAM=MARKETING",
- "name": "/regex/",
- "next_unix_gid": 100,
- "next_unix_uid": 100,
- "persistent_server_user_accounts": null,
- "require_preauth_for_creds": true,
- "resource_group_id": "5f3159e9-e7ab-428e-8a87-c2ebffe407f6",
- "server_account_management": true,
- "shared_admin_user_name": "Server.Admin",
- "shared_standard_user_name": "Server.User",
- "ssh_certificate_type": "CERT_TYPE_ECDSA_256_01",
- "stale_resource_count": 0
}
{- "active_resource_count": 50,
- "create_server_users": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "force_shared_ssh_users": true,
- "gateway_selector": "REGION=WEST-EU,TEAM=MARKETING",
- "id": "/regex/",
- "name": "/regex/",
- "next_unix_gid": 100,
- "next_unix_uid": 100,
- "persistent_server_user_accounts": null,
- "require_preauth_for_creds": true,
- "resource_group_id": "5f3159e9-e7ab-428e-8a87-c2ebffe407f6",
- "server_account_management": true,
- "shared_admin_user_name": "Server.Admin",
- "shared_standard_user_name": "Server.User",
- "ssh_certificate_type": "CERT_TYPE_ECDSA_256_01",
- "stale_resource_count": 0,
- "team": "Your_OPA_Team",
- "user_on_demand_period": 4294967295
}
Retrieves a project from a resource group
OK
{- "active_resource_count": 50,
- "create_server_users": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "force_shared_ssh_users": true,
- "gateway_selector": "REGION=WEST-EU,TEAM=MARKETING",
- "id": "/regex/",
- "name": "/regex/",
- "next_unix_gid": 100,
- "next_unix_uid": 100,
- "persistent_server_user_accounts": null,
- "require_preauth_for_creds": true,
- "resource_group_id": "5f3159e9-e7ab-428e-8a87-c2ebffe407f6",
- "server_account_management": true,
- "shared_admin_user_name": "Server.Admin",
- "shared_standard_user_name": "Server.User",
- "ssh_certificate_type": "CERT_TYPE_ECDSA_256_01",
- "stale_resource_count": 0,
- "team": "Your_OPA_Team",
- "user_on_demand_period": 4294967295
}
Updates a project in a resource group
OK
{- "active_resource_count": 50,
- "create_server_users": true,
- "force_shared_ssh_users": true,
- "gateway_selector": "REGION=WEST-EU,TEAM=MARKETING",
- "name": "/regex/",
- "next_unix_gid": 100,
- "next_unix_uid": 100,
- "persistent_server_user_accounts": null,
- "require_preauth_for_creds": true,
- "resource_group_id": "5f3159e9-e7ab-428e-8a87-c2ebffe407f6",
- "server_account_management": true,
- "shared_admin_user_name": "Server.Admin",
- "shared_standard_user_name": "Server.User",
- "ssh_certificate_type": "CERT_TYPE_ECDSA_256_01",
- "stale_resource_count": 0
}
{- "active_resource_count": 50,
- "create_server_users": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "force_shared_ssh_users": true,
- "gateway_selector": "REGION=WEST-EU,TEAM=MARKETING",
- "id": "/regex/",
- "name": "/regex/",
- "next_unix_gid": 100,
- "next_unix_uid": 100,
- "persistent_server_user_accounts": null,
- "require_preauth_for_creds": true,
- "resource_group_id": "5f3159e9-e7ab-428e-8a87-c2ebffe407f6",
- "server_account_management": true,
- "shared_admin_user_name": "Server.Admin",
- "shared_standard_user_name": "Server.User",
- "ssh_certificate_type": "CERT_TYPE_ECDSA_256_01",
- "stale_resource_count": 0,
- "team": "Your_OPA_Team",
- "user_on_demand_period": 4294967295
}
Deletes a project from a resource group
No Content
Lists all Active Directory accounts in a project in a resource group. The contains
URL parameter
filters by UPN.
OK
{- "list": [
- {
- "account_settings_enabled": [
- "CHECKOUT"
], - "account_name": "string",
- "account_type": "SHARED",
- "brought_under_management_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "distinguished_name": "string",
- "domain": {
- "id": "string",
- "missing": true,
- "name": "string",
- "type": "active_directory_connection"
}, - "email": "string",
- "first_name": "string",
- "last_name": "string",
- "last_rotation_at": "2019-08-24T14:15:22Z",
- "match_status": "MATCH",
- "matched_user": {
- "id": "string",
- "missing": true,
- "name": "string",
- "type": "active_directory_connection"
}, - "project": {
- "id": "string",
- "missing": true,
- "name": "string",
- "type": "active_directory_connection"
}, - "resource_group": {
- "id": "string",
- "missing": true,
- "name": "string",
- "type": "active_directory_connection"
}, - "sam_account_name": "string",
- "sid": "string",
- "upn": "string"
}
]
}
Retrieves the checkout settings configured for a resource group project that's specific to the Active Directory account
OK
{- "checkout_duration_in_seconds": 900,
- "checkout_required": true,
- "exclude_list": [
- {
- "account_name": "string",
- "account_sid": "string",
- "domain": "string",
- "missing": true
}
], - "include_list": [
- {
- "account_name": "string",
- "account_sid": "string",
- "domain": "string",
- "missing": true
}
]
}
Updates the checkout settings configured for a resource group project that's specific to the Active Directory account
No Content
{- "checkout_duration_in_seconds": 900,
- "checkout_required": true,
- "exclude_list": [
- {
- "account_sid": "string",
- "domain": "string"
}
], - "include_list": [
- {
- "account_sid": "string",
- "domain": "string"
}
]
}
Retrieves a project password policy for Active Directory resources in a resource group
OK
{- "character_options": {
- "upper_case": true,
- "lower_case": true,
- "digits": true,
- "punctuation": true,
- "require_from_each_set": true
}, - "enable_periodic_rotation": true,
- "max_length_in_bytes": 0,
- "min_length_in_bytes": 0,
- "modified_at": "2019-08-24T14:15:22Z",
- "periodic_rotation_account_exclude_list": [
- {
- "account_name": "string",
- "account_sid": "string",
- "domain": "string",
- "missing": true
}
], - "periodic_rotation_account_include_list": [
- {
- "account_name": "string",
- "account_sid": "string",
- "domain": "string",
- "missing": true
}
], - "periodic_rotation_duration_in_seconds": 0
}
Updates a project password policy for Active Directory resources in a resource group
OK
{- "character_options": {
- "upper_case": true,
- "lower_case": true,
- "digits": true,
- "punctuation": true,
- "require_from_each_set": true
}, - "enable_periodic_rotation": true,
- "max_length_in_bytes": 0,
- "min_length_in_bytes": 0,
- "periodic_rotation_account_exclude_list": [
- {
- "account_sid": "string",
- "domain": "string"
}
], - "periodic_rotation_account_include_list": [
- {
- "account_sid": "string",
- "domain": "string"
}
], - "periodic_rotation_duration_in_seconds": 0
}
{- "character_options": {
- "upper_case": true,
- "lower_case": true,
- "digits": true,
- "punctuation": true,
- "require_from_each_set": true
}, - "enable_periodic_rotation": true,
- "max_length_in_bytes": 0,
- "min_length_in_bytes": 0,
- "modified_at": "2019-08-24T14:15:22Z",
- "periodic_rotation_account_exclude_list": [
- {
- "account_name": "string",
- "account_sid": "string",
- "domain": "string",
- "missing": true
}
], - "periodic_rotation_account_include_list": [
- {
- "account_name": "string",
- "account_sid": "string",
- "domain": "string",
- "missing": true
}
], - "periodic_rotation_duration_in_seconds": 0
}
Lists all the resources that are currently checked out within a specified resource group project
resource_type | string If specified, only returns resources with a matching type. Valid resource types: |
include_pending_checkin | boolean If specified, also returns resources that have already started the checkin process. These are not included by default. |
count | integer <int32> The number of objects per page |
descending | boolean The object order |
offset | string The offset value for pagination. The rel="next" and rel="prev" |
prev | boolean The direction of paging |
OK
{- "list": [
- {
- "checkin_by": "/regex/",
- "checkin_start_at": "2019-08-24T14:15:22Z",
- "checkin_type": "admin",
- "checkout_at": "2019-08-24T14:15:22Z",
- "checkout_expiry_at": "2019-08-24T14:15:22Z",
- "resource_details": {
- "hostname": "string",
- "server_id": "/regex/",
- "_type": "string"
}, - "resource_id": "string",
- "resource_name": "string",
- "resource_type": "managed_saas_app_account_password_login",
- "checkout_by_username": "string",
- "resource_status": "checked_out"
}
]
}
Checks in a resource (forcefully). As an admin, use this request to return a resource that any user has checked out.
No Content
{- "resource_id": "string",
- "resource_type": "managed_saas_app_account_password_login"
}
Retrieves the checkout settings configured for a resource group project that's specific to the Universal Directory
OK
Updates the checkout settings configured for a resource group project that's specific to the Universal Directory
No Content
Retrieves the checkout settings configured for a resource group project that's specific to the SaaS app
OK
Updates the checkout settings configured for a resource group project that's specific to the SaaS app
No Content
Lists all server accounts in a resource group project
OK
{- "list": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "hostname": "string",
- "id": "string",
- "last_password_change_error_metadata": "string",
- "last_password_change_error_report_timestamp": "2019-08-24T14:15:22Z",
- "last_password_change_error_system_timestamp": "2019-08-24T14:15:22Z",
- "last_password_change_error_type": "string",
- "last_password_change_success_report_timestamp": "2019-08-24T14:15:22Z",
- "last_password_change_system_timestamp": "2019-08-24T14:15:22Z",
- "login": "string",
- "managed": true,
- "project_id": "string",
- "server_id": "string",
- "team_id": "string"
}
]
}
Retrieves a server account from a project in a resource group
OK
{- "items": {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "hostname": "string",
- "id": "string",
- "last_password_change_error_metadata": "string",
- "last_password_change_error_report_timestamp": "2019-08-24T14:15:22Z",
- "last_password_change_error_system_timestamp": "2019-08-24T14:15:22Z",
- "last_password_change_error_type": "string",
- "last_password_change_success_report_timestamp": "2019-08-24T14:15:22Z",
- "last_password_change_system_timestamp": "2019-08-24T14:15:22Z",
- "login": "string",
- "managed": true,
- "project_id": "string",
- "server_id": "string",
- "team_id": "string"
}
}
Retrieves the checkout settings configured for a resource group project that's specific to the server
OK
{- "checkout_duration_in_seconds": 900,
- "checkout_required": true,
- "exclude_list": [
- "string"
], - "include_list": [
- "string"
]
}
Updates the checkout settings configured for a resource group project that's specific to the server
checkout_duration_in_seconds | integer <int32> [ 900 .. 86400 ] The duration in seconds for the checkout. If the checkout is enabled, the duration is the maximum time a user can access the resource before the checkout expires. |
checkout_required required | boolean Indicates whether a checkout is mandatory for accessing resources within the project. If |
exclude_list | Array of strings If provided, only the account identifiers listed are excluded from the checkout requirement. This list is only considered if |
include_list | Array of strings If provided, only the account identifiers listed are required to perform a checkout to access the resource. This list is only considered if |
No Content
{- "checkout_duration_in_seconds": 900,
- "checkout_required": true,
- "exclude_list": [
- "string"
], - "include_list": [
- "string"
]
}
Lists all server enrollment tokens in a resource group project
OK
{- "list": [
- {
- "created_by_user": "string",
- "description": "string",
- "id": "/regex/",
- "issued_at": "2019-08-24T14:15:22Z",
- "token": {
- "property1": "string",
- "property2": "string"
}
}
]
}
Creates a server enrollment token for a project in a resource group
Created
{- "description": "string"
}
{- "created_by_user": "string",
- "description": "string",
- "id": "/regex/",
- "issued_at": "2019-08-24T14:15:22Z",
- "token": {
- "property1": "string",
- "property2": "string"
}
}
Retrieves a server enrollment token from a project in a resource group
OK
{- "created_by_user": "string",
- "description": "string",
- "id": "/regex/",
- "issued_at": "2019-08-24T14:15:22Z",
- "token": {
- "property1": "string",
- "property2": "string"
}
}
Deletes a server enrollment token from a project in a resource group
No Content
Retrieves a password policy for a project in a resource group
OK
{- "character_options": {
- "upper_case": true,
- "lower_case": true,
- "digits": true,
- "punctuation": true,
- "require_from_each_set": true
}, - "enable_periodic_rotation": true,
- "managed_privileged_accounts_config": [
- "string"
], - "max_length_in_bytes": 0,
- "min_length_in_bytes": 0,
- "modified_at": "2019-08-24T14:15:22Z",
- "periodic_rotation_duration_in_seconds": 0
}
Updates a password policy for a project in a resource group
required | object The specific characters rules required by the password policy | ||||||||||
| |||||||||||
enable_periodic_rotation required | boolean If | ||||||||||
managed_privileged_accounts_config | Array of strings An array of managed accounts for password rotation | ||||||||||
max_length_in_bytes required | integer The maximum length allowed for the password | ||||||||||
min_length_in_bytes required | integer The minimum length allowed for the password | ||||||||||
periodic_rotation_duration_in_seconds | integer If |
OK
{- "character_options": {
- "upper_case": true,
- "lower_case": true,
- "digits": true,
- "punctuation": true,
- "require_from_each_set": true
}, - "enable_periodic_rotation": true,
- "managed_privileged_accounts_config": [
- "string"
], - "max_length_in_bytes": 0,
- "min_length_in_bytes": 0,
- "periodic_rotation_duration_in_seconds": 0
}
{- "character_options": {
- "upper_case": true,
- "lower_case": true,
- "digits": true,
- "punctuation": true,
- "require_from_each_set": true
}, - "enable_periodic_rotation": true,
- "managed_privileged_accounts_config": [
- "string"
], - "max_length_in_bytes": 0,
- "min_length_in_bytes": 0,
- "modified_at": "2019-08-24T14:15:22Z",
- "periodic_rotation_duration_in_seconds": 0
}
Lists all server accounts for a server in a project
OK
{- "list": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "hostname": "string",
- "id": "string",
- "last_password_change_error_metadata": "string",
- "last_password_change_error_report_timestamp": "2019-08-24T14:15:22Z",
- "last_password_change_error_system_timestamp": "2019-08-24T14:15:22Z",
- "last_password_change_error_type": "string",
- "last_password_change_success_report_timestamp": "2019-08-24T14:15:22Z",
- "last_password_change_system_timestamp": "2019-08-24T14:15:22Z",
- "login": "string",
- "managed": true,
- "project_id": "string",
- "server_id": "string",
- "team_id": "string"
}
]
}