Skip to main content

IdentityProfilesApi

Use this API to implement identity profile functionality. With this functionality in place, administrators can view identity profiles and their configurations.

Identity profiles represent the configurations that can be applied to identities as a way of granting them a set of security and access, as well as defining the mappings between their identity attributes and their source attributes.

In Identity Security Cloud, administrators can use the Identities drop-down menu and select Identity Profiles to view the list of identity profiles. This list shows some details about each identity profile, along with its status. They can select an identity profile to view its settings, its mappings between identity attributes and correlating source account attributes, and its provisioning settings.

Refer to Creating Identity Profiles for more information about identity profiles.

All URIs are relative to https://sailpoint.api.identitynow.com

MethodHTTP requestDescription
create-identity-profile-v1POST /identity-profiles/v1Create identity profile
delete-identity-profile-v1DELETE /identity-profiles/v1/{identity-profile-id}Delete identity profile
delete-identity-profiles-v1POST /identity-profiles/v1/bulk-deleteDelete identity profiles
export-identity-profiles-v1GET /identity-profiles/v1/exportExport identity profiles
generate-identity-preview-v1POST /identity-profiles/v1/identity-previewGenerate identity profile preview
get-default-identity-attribute-config-v1GET /identity-profiles/v1/{identity-profile-id}/default-identity-attribute-configGet default identity attribute config
get-identity-profile-v1GET /identity-profiles/v1/{identity-profile-id}Get identity profile
import-identity-profiles-v1POST /identity-profiles/v1/importImport identity profiles
list-identity-profiles-v1GET /identity-profiles/v1List identity profiles
sync-identity-profile-v1POST /identity-profiles/v1/{identity-profile-id}/process-identitiesProcess identities under profile
update-identity-profile-v1PATCH /identity-profiles/v1/{identity-profile-id}Update identity profile

create-identity-profile-v1

Create identity profile Creates an identity profile.

API Spec

Parameters

NameTypeDescriptionNotes
identityprofileIdentityprofile

Return type

Identityprofile

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const identityprofile: Identityprofile = ; //
const result = await apiInstance.createIdentityProfileV1({ identityprofile: identityprofile });
console.log(result);

[Back to top]

delete-identity-profile-v1

Delete identity profile Delete an identity profile by ID. On success, this endpoint will return a reference to the bulk delete task result.

API Spec

Parameters

NameTypeDescriptionNotes
identityProfileIdstringIdentity profile ID.[default to undefined]

Return type

Taskresultsimplified

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const identityProfileId: string = ef38f94347e94562b5bb8424a56397d8; // Identity profile ID.
const result = await apiInstance.deleteIdentityProfileV1({ identityProfileId: identityProfileId });
console.log(result);

[Back to top]

delete-identity-profiles-v1

Delete identity profiles This deletes multiple Identity Profiles via a list of supplied IDs.

On success, this endpoint will return a reference to the bulk delete task result.

The following rights are required to access this endpoint: idn:identity-profile:delete

API Spec

Parameters

NameTypeDescriptionNotes
requestBodyArray<string>Identity Profile bulk delete request body.

Return type

Taskresultsimplified

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const requestBody: Array&lt;string&gt; = ; // Identity Profile bulk delete request body.
const result = await apiInstance.deleteIdentityProfilesV1({ requestBody: requestBody });
console.log(result);

[Back to top]

export-identity-profiles-v1

Export identity profiles This exports existing identity profiles in the format specified by the sp-config service.

API Spec

Parameters

NameTypeDescriptionNotes
limitnumberMax number of results to return. See V3 API Standard Collection Parameters for more information.[optional] [default to 250]
offsetnumberOffset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.[optional] [default to 0]
countbooleanIf true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. See V3 API Standard Collection Parameters for more information.[optional] [default to false]
filtersstringFilter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: id: eq, ne name: eq, ne priority: eq, ne[optional] [default to undefined]
sortersstringSort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: id, name, priority[optional] [default to undefined]

Return type

Array<Identityprofileexportedobject>

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const limit: number = 250; // Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const offset: number = 0; // Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const count: boolean = true; // If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const filters: string = id eq "ef38f94347e94562b5bb8424a56397d8"; // Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, ne* **name**: *eq, ne* **priority**: *eq, ne* (optional)
const sorters: string = id,name; // Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, priority** (optional)
const result = await apiInstance.exportIdentityProfilesV1({ });
console.log(result);

[Back to top]

generate-identity-preview-v1

Generate identity profile preview This generates a non-persisted IdentityDetails object that will represent as the preview of the identities attribute when the given policy''s attribute config is applied.

API Spec

Parameters

NameTypeDescriptionNotes
identitypreviewrequestIdentitypreviewrequestIdentity Preview request body.

Return type

Identitypreviewresponse

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const identitypreviewrequest: Identitypreviewrequest = ; // Identity Preview request body.
const result = await apiInstance.generateIdentityPreviewV1({ identitypreviewrequest: identitypreviewrequest });
console.log(result);

[Back to top]

get-default-identity-attribute-config-v1

Get default identity attribute config This returns the default identity attribute config.

API Spec

Parameters

NameTypeDescriptionNotes
identityProfileIdstringThe Identity Profile ID.[default to undefined]

Return type

Identityattributeconfig

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const identityProfileId: string = 2b838de9-db9b-abcf-e646-d4f274ad4238; // The Identity Profile ID.
const result = await apiInstance.getDefaultIdentityAttributeConfigV1({ identityProfileId: identityProfileId });
console.log(result);

[Back to top]

get-identity-profile-v1

Get identity profile Get a single identity profile by ID.

API Spec

Parameters

NameTypeDescriptionNotes
identityProfileIdstringIdentity profile ID.[default to undefined]

Return type

Identityprofile

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const identityProfileId: string = 2b838de9-db9b-abcf-e646-d4f274ad4238; // Identity profile ID.
const result = await apiInstance.getIdentityProfileV1({ identityProfileId: identityProfileId });
console.log(result);

[Back to top]

import-identity-profiles-v1

Import identity profiles This imports previously exported identity profiles.

API Spec

Parameters

NameTypeDescriptionNotes
identityprofileexportedobjectArray<Identityprofileexportedobject>Previously exported Identity Profiles.

Return type

Objectimportresult

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const identityprofileexportedobject: Array&lt;Identityprofileexportedobject&gt; = ; // Previously exported Identity Profiles.
const result = await apiInstance.importIdentityProfilesV1({ identityprofileexportedobject: identityprofileexportedobject });
console.log(result);

[Back to top]

list-identity-profiles-v1

List identity profiles Get a list of identity profiles, based on the specified query parameters.

API Spec

Parameters

NameTypeDescriptionNotes
limitnumberMax number of results to return. See V3 API Standard Collection Parameters for more information.[optional] [default to 250]
offsetnumberOffset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.[optional] [default to 0]
countbooleanIf true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. See V3 API Standard Collection Parameters for more information.[optional] [default to false]
filtersstringFilter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: id: eq, ne, ge, gt, in, le, sw name: eq, ne, ge, gt, in, le, sw priority: eq, ne[optional] [default to undefined]
sortersstringSort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: id, name, priority, created, modified, owner.id, owner.name[optional] [default to undefined]

Return type

Array<Identityprofile>

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const limit: number = 250; // Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const offset: number = 0; // Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const count: boolean = true; // If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count&#x3D;true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const filters: string = id eq "ef38f94347e94562b5bb8424a56397d8"; // Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, ne, ge, gt, in, le, sw* **name**: *eq, ne, ge, gt, in, le, sw* **priority**: *eq, ne* (optional)
const sorters: string = id,name; // Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, name, priority, created, modified, owner.id, owner.name** (optional)
const result = await apiInstance.listIdentityProfilesV1({ });
console.log(result);

[Back to top]

sync-identity-profile-v1

Process identities under profile Process identities under the profile This operation should not be used to schedule your own identity processing or to perform system wide identity refreshes. The system will use a combination of event-based processing and scheduled processing that runs every day at 8:00 AM and 8:00 PM in the tenant's timezone to keep your identities synchronized. This should only be run on identity profiles that have the identityRefreshRequired attribute set to true. If identityRefreshRequired is false, then there is no benefit to running this operation. Typically, this operation is performed when a change is made to the identity profile or its related lifecycle states that requires a refresh. This operation will perform the following activities on all identities under the identity profile.

  1. Updates identity attribute according to the identity profile mappings. 2. Determines the identity's correct manager through manager correlation. 3. Updates the identity's access according to their assigned lifecycle state. 4. Updates the identity's access based on role assignment criteria.

API Spec

Parameters

NameTypeDescriptionNotes
identityProfileIdstringThe Identity Profile ID to be processed[default to undefined]

Return type

object

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const identityProfileId: string = ef38f94347e94562b5bb8424a56397d8; // The Identity Profile ID to be processed
const result = await apiInstance.syncIdentityProfileV1({ identityProfileId: identityProfileId });
console.log(result);

[Back to top]

update-identity-profile-v1

Update identity profile Update a specified identity profile with this PATCH request.

You cannot update these fields:

  • id
  • created
  • modified
  • identityCount
  • identityRefreshRequired
  • Authoritative Source and Identity Attribute Configuration cannot be modified at the same time.

API Spec

Parameters

NameTypeDescriptionNotes
identityProfileIdstringIdentity profile ID.[default to undefined]
jsonpatchoperationArray<Jsonpatchoperation>List of identity profile update operations according to the JSON Patch standard.

Return type

Identityprofile

HTTP request headers

  • Content-Type: application/json-patch+json
  • Accept: application/json

Example

import { IdentityProfilesApi } from 'sailpoint-api-client';
import { Configuration } from 'sailpoint-api-client';

const configuration = new Configuration();
const apiInstance = new IdentityProfilesApi(configuration);
const identityProfileId: string = ef38f94347e94562b5bb8424a56397d8; // Identity profile ID.
const jsonpatchoperation: Array&lt;Jsonpatchoperation&gt; = [{"op":"add","path":"/identityAttributeConfig/attributeTransforms/0","value":{"identityAttributeName":"location","transformDefinition":{"type":"accountAttribute","attributes":{"sourceName":"Employees","attributeName":"location","sourceId":"2c91808878b7d63b0178c66ffcdc4ce4"}}}}]; // List of identity profile update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
const result = await apiInstance.updateIdentityProfileV1({ identityProfileId: identityProfileId, jsonpatchoperation: jsonpatchoperation });
console.log(result);

[Back to top]