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
| Method | HTTP request | Description |
|---|---|---|
| create-identity-profile-v1 | POST /identity-profiles/v1 | Create identity profile |
| delete-identity-profile-v1 | DELETE /identity-profiles/v1/{identity-profile-id} | Delete identity profile |
| delete-identity-profiles-v1 | POST /identity-profiles/v1/bulk-delete | Delete identity profiles |
| export-identity-profiles-v1 | GET /identity-profiles/v1/export | Export identity profiles |
| generate-identity-preview-v1 | POST /identity-profiles/v1/identity-preview | Generate identity profile preview |
| get-default-identity-attribute-config-v1 | GET /identity-profiles/v1/{identity-profile-id}/default-identity-attribute-config | Get default identity attribute config |
| get-identity-profile-v1 | GET /identity-profiles/v1/{identity-profile-id} | Get identity profile |
| import-identity-profiles-v1 | POST /identity-profiles/v1/import | Import identity profiles |
| list-identity-profiles-v1 | GET /identity-profiles/v1 | List identity profiles |
| sync-identity-profile-v1 | POST /identity-profiles/v1/{identity-profile-id}/process-identities | Process identities under profile |
| update-identity-profile-v1 | PATCH /identity-profiles/v1/{identity-profile-id} | Update identity profile |
create-identity-profile-v1
Create identity profile Creates an identity profile.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| identityprofile | Identityprofile |
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);
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.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| identityProfileId | string | Identity 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);
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
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| requestBody | Array<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<string> = ; // Identity Profile bulk delete request body.
const result = await apiInstance.deleteIdentityProfilesV1({ requestBody: requestBody });
console.log(result);
export-identity-profiles-v1
Export identity profiles This exports existing identity profiles in the format specified by the sp-config service.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| limit | number | Max number of results to return. See V3 API Standard Collection Parameters for more information. | [optional] [default to 250] |
| offset | number | Offset 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] |
| count | boolean | 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=true if that value will not be used. See V3 API Standard Collection Parameters for more information. | [optional] [default to false] |
| filters | string | Filter 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] |
| sorters | string | Sort 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=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);
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.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| identitypreviewrequest | Identitypreviewrequest | Identity 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);
get-default-identity-attribute-config-v1
Get default identity attribute config This returns the default identity attribute config.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| identityProfileId | string | The 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);
get-identity-profile-v1
Get identity profile Get a single identity profile by ID.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| identityProfileId | string | Identity 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);
import-identity-profiles-v1
Import identity profiles This imports previously exported identity profiles.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| identityprofileexportedobject | Array<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<Identityprofileexportedobject> = ; // Previously exported Identity Profiles.
const result = await apiInstance.importIdentityProfilesV1({ identityprofileexportedobject: identityprofileexportedobject });
console.log(result);
list-identity-profiles-v1
List identity profiles Get a list of identity profiles, based on the specified query parameters.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| limit | number | Max number of results to return. See V3 API Standard Collection Parameters for more information. | [optional] [default to 250] |
| offset | number | Offset 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] |
| count | boolean | 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=true if that value will not be used. See V3 API Standard Collection Parameters for more information. | [optional] [default to false] |
| filters | string | Filter 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] |
| sorters | string | Sort 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=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);
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.
- 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.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| identityProfileId | string | The 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);
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.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| identityProfileId | string | Identity profile ID. | [default to undefined] |
| jsonpatchoperation | Array<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<Jsonpatchoperation> = [{"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);