Document API <api-url>/beta/sources/<source_id>/load-accounts

Dear SailPoint Developers,

From Loading Account Data - SailPoint Identity Services

Use your preferred tool to call the following API:
POST <api-url>/beta/sources/<source_id>/load-accounts

I can’t seem to find this documented, either

Best regards,
Andrei


Just for documentation’s sake, the answer that you get from the POST:

202 Accepted

{
    "success": true,
    "task": {
        "type": "QUARTZ",
        "id": "687...",
        "name": "Cloud Account Aggregation",
        "description": "Aggregates from the specified application.",
        "parentName": null,
        "launcher": "System",
        "created": 1713522033823,
        "launched": 1713522033835,
        "completed": null,
        "completionStatus": null,
        "messages": [],
        "returns": [
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_APPLICATIONS",
                "attributeName": "applications"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_TOTAL",
                "attributeName": "total"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_OPTIMIZED",
                "attributeName": "optimizedAggregation"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_IGNORED",
                "attributeName": "ignored"
            },
            {
                "displayLabel": "TASK_OUT_UNCHANGED_ACCOUNTS",
                "attributeName": "optimized"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_CREATED",
                "attributeName": "created"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_UPDATED",
                "attributeName": "updated"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_DELETED",
                "attributeName": "deleted"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_MANAGER_CHANGES",
                "attributeName": "managerChanges"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_BUSINESS_ROLE_CHANGES",
                "attributeName": "detectedRoleChanges"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_EXCEPTION_CHANGES",
                "attributeName": "exceptionChanges"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_POLICIES",
                "attributeName": "policies"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_POLICY_VIOLATIONS",
                "attributeName": "policyViolations"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_POLICY_NOTIFICATIONS",
                "attributeName": "policyNotifications"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCORES_CHANGED",
                "attributeName": "scoresChanged"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SNAPSHOTS_CREATED",
                "attributeName": "snapshotsCreated"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCOPES_CREATED",
                "attributeName": "scopesCreated"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCOPES_CORRELATED",
                "attributeName": "scopesCorrelated"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCOPES_SELECTED",
                "attributeName": "scopesSelected"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCOPES_DORMANT",
                "attributeName": "scopesDormant"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_UNSCOPED_IDENTITIES",
                "attributeName": "unscopedIdentities"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_CERTIFICATIONS_CREATED",
                "attributeName": "certificationsCreated"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_CERTIFICATIONS_DELETED",
                "attributeName": "certificationsDeleted"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_APPLICATIONS_GENERATED",
                "attributeName": "applicationsGenerated"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_MANAGED_ATTRIBUTES_PROMOTED",
                "attributeName": "managedAttributesCreated"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_MANAGED_ATTRIBUTES_PROMOTED_BY_APP",
                "attributeName": "managedAttributesCreatedByApplication"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_IDENTITYENTITLEMENTS_CREATED",
                "attributeName": "identityEntitlementsCreated"
            },
            {
                "displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_GROUPS_CREATED",
                "attributeName": "groupsCreated"
            }
        ],
        "attributes": {
            "eventId": 23292,
            "clusterCcgBuild": "971",
            "appId": "6c57...",
            "optimizedAggregation": "disabled"
        },
        "progress": null
    }
}

This endpoint is now documented here.

1 Like

Thanks @colin_mckibben,

Could you please add it to the Postman collection as well?

This endpoint is now documented here.

Should this not be added to sources or near the other sources operations?

The parameter disableOptimization is not documented, it would be helpful to list all the optimizations that are done when this parameter is false.

Thank you for the suggestions. I have created a ticket (DEVREL-1521) to work on these items. The postman collection will be updated soon.