The SaaS App Accounts API provides operations to manage SaaS app accounts for Okta Privileged Access teams
Lists all SaaS app accounts
OK
{- "list": [
- {
- "application_instance_id": "aln1aqcs055ZRoizW0g8",
- "application_instance_name": "AWS Engineering",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "This is for accessing AWS Prod-5",
- "id": "d1b65a78-21ed-429b-8ea3-eec96f2748d6",
- "lcm_sync_possible": true,
- "name": "AWS Prod-5 account",
- "sync_status": "NOT_SYNCED",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "OpsCaliforniaShared"
}
]
}
Gets a Okta Universal Directory service account user has access to based on the security policies
OK
{- "account": {
- "id": "a747a818-a4c4-4446-8a87-704216495a08",
- "name": "superadmin account for test instance",
- "username": "superadmin@okta.com",
- "lcm_sync_possible": true,
- "availability_status": "available",
- "account_status": "NO_ISSUES",
- "account_status_detail": "ROTATED"
}, - "checkout_details": {
- "checkout_enabled": true
}
}
Lists all SaaS app accounts in a resource group
OK
{- "list": [
- {
- "application_instance_id": "aln1aqcs055ZRoizW0g8",
- "application_instance_name": "AWS Engineering",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "This is for accessing AWS Prod-5",
- "id": "d1b65a78-21ed-429b-8ea3-eec96f2748d6",
- "lcm_sync_possible": true,
- "name": "AWS Prod-5 account",
- "sync_status": "NOT_SYNCED",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "OpsCaliforniaShared"
}
]
}
Lists all SaaS app accounts in a project in a resource group
OK
{- "list": [
- {
- "account_settings_enabled": [
- "CHECKOUT"
], - "last_password_change_system_timestamp": "2019-08-24T14:15:22Z",
- "application_instance_id": "aln1aqcs055ZRoizW0g8",
- "application_instance_name": "AWS Engineering",
- "created_at": "2019-08-24T14:15:22Z",
- "description": "This is for accessing AWS Prod-5",
- "id": "d1b65a78-21ed-429b-8ea3-eec96f2748d6",
- "lcm_sync_possible": true,
- "name": "AWS Prod-5 account",
- "sync_status": "NOT_SYNCED",
- "updated_at": "2019-08-24T14:15:22Z",
- "username": "OpsCaliforniaShared"
}
]
}
List SaaS Application instances that an end user has access to through at least one account based on the security policies.
OK
{- "list": [
- {
- "app_instance_id": "1",
- "app_instance_name": "Salesforce Prod",
- "global_app_name": "Salesforce",
}, - {
- "app_instance_id": "2",
- "app_instance_name": "Github Enterprise",
- "global_app_name": "Github",
}
]
}
Gets a SaaS app instance that an end user has access to through at least one account based on the security policies
OK
{- "app_instance_id": "1",
- "app_instance_name": "Salesforce Prod",
- "global_app_name": "Salesforce",
}
List SaaS application service accounts the user has access to based on the security policies.
OK
{- "list": [
- {
- "account": {
- "id": "a747a818-a4c4-4446-8a87-704216495a08",
- "name": "superadmin account for test instance",
- "username": "superadmin@test.app",
- "lcm_sync_possible": true,
- "availability_status": "checked_out",
- "account_status": "NO_ISSUES",
- "account_status_detail": "ROTATED"
}, - "checkout_details": {
- "checkout_enabled": true
}
}, - {
- "account": {
- "id": "c747a818-a4c4-4446-8a87-704216495a08",
- "name": "admin account for staging instance",
- "username": "admin@test.app",
- "lcm_sync_possible": true,
- "availability_status": "unavailable",
- "account_status": "INFO",
- "account_status_detail": "ROTATING"
}, - "checkout_details": {
- "checkout_enabled": false
}
}, - {
- "account": {
- "id": "b747a818-a4c4-4446-8a87-704216495a08",
- "name": "admin account for test instance",
- "username": "admin@test.app",
- "lcm_sync_possible": true,
- "availability_status": "unavailable",
- "account_status": "ERROR",
- "account_status_detail": "ROTATION_FAILED"
}, - "checkout_details": {
- "current_user_checkout_expires_at": "2024-09-12T14:30:00Z",
- "checkout_enabled": true
}
}
]
}
Gets a SaaS application service account that the user has access to based on the security policies
OK
{- "account": {
- "id": "b747a818-a4c4-4446-8a87-704216495a08",
- "name": "admin account for test instance",
- "username": "admin@test.app",
- "lcm_sync_possible": true,
- "availability_status": "checked_out",
- "account_status": "NO_ISSUES",
- "account_status_detail": "ROTATED"
}, - "checkout_details": {
- "current_user_checkout_expires_at": "2024-09-12T14:30:00Z",
- "checkout_enabled": true
}
}
Updates the password belonging to a SaaS app account (managed and unmanaged) that the end user has access to.
password_jwe required | string | ||||||||||||||||||||||||||||||||||||||||||||||
required | object (UserAccessMethod) | ||||||||||||||||||||||||||||||||||||||||||||||
|
No Content
Unauthorized
Forbidden
Not found
{- "password_jwe": "string",
- "user_access_method": {
- "access_credential": "string",
- "brokered": true,
- "conditionals": [
- {
- "access_request_type_id": "string",
- "access_request_type_name": "string",
- "acr_values": "phr",
- "condition_is_met": true,
- "description": "string",
- "expires_after_seconds": 0,
- "type": "access_request"
}
], - "details": {
- "path": [
- { }
], - "privileges": {
- "_type": "string",
- "folder_create": true,
- "folder_delete": true,
- "folder_update": true,
- "list": true,
- "secret_create": true,
- "secret_delete": true,
- "secret_reveal": true,
- "secret_update": true
}, - "secret_id": "string",
- "secret_name": "string"
}, - "identity": "string",
- "rule_ids": [
- "string"
], - "security_policy_rule_id": "string",
- "server_id": "string",
- "short_text": "string",
- "sudo_command_bundles": "string",
- "user_access_type": "string"
}
}
{- "code": 401,
- "message": "Missing capability: role",
- "nottype": "authorization_error"
}
Reveals the password belonging to a SaaS app account (managed and unmanaged) that the end user has access to.
required | object (RawJSONWebKey) A JSON Web Key formatted in accordance with RFC 7517. | ||||||||||||||||||||||||||||||||||||||||||||||
required | object (UserAccessMethod) | ||||||||||||||||||||||||||||||||||||||||||||||
|
Success
Unauthorized
Forbidden
Not found
{- "public_key": {
- "alg": "RSA-OAEP-256",
- "crv": "P-256",
- "d": "string",
- "dp": "string",
- "dq": "string",
- "e": "string",
- "k": "string",
- "kid": "/regex/",
- "kty": "EC",
- "n": "string",
- "p": "string",
- "q": "string",
- "qi": "string",
- "use": "string",
- "x": "string",
- "x5c": [
- "string"
], - "x5t": "string",
- "x5t#S256": "string",
- "x5u": "string",
- "y": "string"
}, - "user_access_method": {
- "access_credential": "string",
- "brokered": true,
- "conditionals": [
- {
- "access_request_type_id": "string",
- "access_request_type_name": "string",
- "acr_values": "phr",
- "condition_is_met": true,
- "description": "string",
- "expires_after_seconds": 0,
- "type": "access_request"
}
], - "details": {
- "path": [
- { }
], - "privileges": {
- "_type": "string",
- "folder_create": true,
- "folder_delete": true,
- "folder_update": true,
- "list": true,
- "secret_create": true,
- "secret_delete": true,
- "secret_reveal": true,
- "secret_update": true
}, - "secret_id": "string",
- "secret_name": "string"
}, - "identity": "string",
- "rule_ids": [
- "string"
], - "security_policy_rule_id": "string",
- "server_id": "string",
- "short_text": "string",
- "sudo_command_bundles": "string",
- "user_access_type": "string"
}
}
{- "password_jwe": "string"
}
List SaaS application account user access methods based on the security policies.
OK
{- "list": [
- {
- "identity": "admin-account@example.app.org",
- "conditionals": [
- {
- "type": "access_request",
- "condition_is_met": false,
- "description": "Approval",
- "access_request_type_id": "uuid",
- "access_request_type_name": "policy_access_request",
- "expires_after_seconds": 900
}
], - "rule_ids": [
- "uuid"
], - "user_access_type": "service_account",
- "details": {
- "account_id": "uuid",
- "privileges": [
- {
- "privilege_type": "reveal_password",
- "privilege_value": {
- "_type": "reveal_password",
- "reveal_password": true
}
}, - {
- "privilege_type": "update_password",
- "privilege_value": {
- "_type": "update_password",
- "update_password": true
}
}
]
}
}
]
}