@sailpoint/api-client 2.2.49 → 2.2.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access_profiles/api.d.ts +1110 -3
- package/dist/access_profiles/api.js +964 -6
- package/dist/access_profiles/api.js.map +1 -1
- package/dist/data_access_security/api.d.ts +10 -10
- package/dist/data_access_security/api.js +8 -8
- package/dist/data_access_security/api.js.map +1 -1
- package/dist/esm/access_profiles/api.js +963 -5
- package/dist/esm/data_access_security/api.js +8 -8
- package/dist/esm/machine_identities_lifecycle_actions/api.js +5 -5
- package/dist/esm/machine_identities_lifecycle_actions/base.js +1 -1
- package/dist/esm/machine_identities_lifecycle_actions/common.js +1 -1
- package/dist/esm/machine_identities_lifecycle_actions/configuration.js +1 -1
- package/dist/esm/machine_identities_lifecycle_actions/index.js +1 -1
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/workflows/api.js +33 -7
- package/dist/machine_identities_lifecycle_actions/api.d.ts +5 -5
- package/dist/machine_identities_lifecycle_actions/api.js +5 -5
- package/dist/machine_identities_lifecycle_actions/api.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/base.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/base.js +1 -1
- package/dist/machine_identities_lifecycle_actions/base.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/common.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/common.js +1 -1
- package/dist/machine_identities_lifecycle_actions/common.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/configuration.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/configuration.js +1 -1
- package/dist/machine_identities_lifecycle_actions/configuration.js.map +1 -1
- package/dist/machine_identities_lifecycle_actions/index.d.ts +1 -1
- package/dist/machine_identities_lifecycle_actions/index.js +1 -1
- package/dist/machine_identities_lifecycle_actions/index.js.map +1 -1
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/workflows/api.d.ts +62 -4
- package/dist/workflows/api.js +34 -8
- package/dist/workflows/api.js.map +1 -1
- package/package.json +1 -1
- package/sailpoint-scopes.json +171 -20
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.AccessProfilesApi = exports.AccessProfilesApiFactory = exports.AccessProfilesApiFp = exports.AccessProfilesApiAxiosParamCreator = exports.ProvisioningCriteriaOperation = exports.OwnerReferenceTypeEnum = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementRefTypeEnum = exports.EntitlementOwnerTypeEnum = exports.AttributeValueDTOTypeEnum = exports.AdditionalOwnerRefTypeEnum = exports.AccessProfileUsageUsedByInnerTypeEnum = exports.AccessProfileSourceRefTypeEnum = exports.AccessProfileMetadataBulkUpdateResponseStatusEnum = exports.AccessProfileMetadataBulkUpdateByQueryRequestReplaceScopeEnum = exports.AccessProfileMetadataBulkUpdateByQueryRequestOperationEnum = exports.AccessProfileMetadataBulkUpdateByIdRequestReplaceScopeEnum = exports.AccessProfileMetadataBulkUpdateByIdRequestOperationEnum = exports.AccessProfileMetadataBulkUpdateByFilterRequestReplaceScopeEnum = exports.AccessProfileMetadataBulkUpdateByFilterRequestOperationEnum = exports.AccessProfileApprovalSchemeApproverTypeEnum = exports.AccessDurationTimeUnitEnum = void 0;
|
|
81
|
+
exports.AccessProfilesApi = exports.AccessProfilesApiFactory = exports.AccessProfilesApiFp = exports.AccessProfilesApiAxiosParamCreator = exports.ProvisioningCriteriaOperation = exports.OwnerReferenceTypeEnum = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementRefTypeEnum = exports.EntitlementPrivilegeLevelEffectiveEnum = exports.EntitlementPrivilegeLevelInheritedEnum = exports.EntitlementPrivilegeLevelSetByTypeEnum = exports.EntitlementPrivilegeLevelDirectEnum = exports.EntitlementOwnerTypeEnum = exports.AttributeValueDTOTypeEnum = exports.AdditionalOwnerRefTypeEnum = exports.Accessprofilev2PrivilegeLevelEffectiveEnum = exports.AccessProfileUsageUsedByInnerTypeEnum = exports.AccessProfileSourceRefTypeEnum = exports.AccessProfilePrivilegeLevelEffectiveEnum = exports.AccessProfileMetadataBulkUpdateResponseStatusEnum = exports.AccessProfileMetadataBulkUpdateByQueryRequestReplaceScopeEnum = exports.AccessProfileMetadataBulkUpdateByQueryRequestOperationEnum = exports.AccessProfileMetadataBulkUpdateByIdRequestReplaceScopeEnum = exports.AccessProfileMetadataBulkUpdateByIdRequestOperationEnum = exports.AccessProfileMetadataBulkUpdateByFilterRequestReplaceScopeEnum = exports.AccessProfileMetadataBulkUpdateByFilterRequestOperationEnum = exports.AccessProfileEntitlementPrivilegeLevelEffectiveEnum = exports.AccessProfileEntitlementPrivilegeLevelInheritedEnum = exports.AccessProfileEntitlementPrivilegeLevelSetByTypeEnum = exports.AccessProfileEntitlementPrivilegeLevelDirectEnum = exports.AccessProfileApprovalSchemeApproverTypeEnum = exports.AccessDurationTimeUnitEnum = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -102,6 +102,30 @@ exports.AccessProfileApprovalSchemeApproverTypeEnum = {
|
|
|
102
102
|
AdditionalOwner: 'ADDITIONAL_OWNER',
|
|
103
103
|
AdditionalGovernanceGroup: 'ADDITIONAL_GOVERNANCE_GROUP'
|
|
104
104
|
};
|
|
105
|
+
exports.AccessProfileEntitlementPrivilegeLevelDirectEnum = {
|
|
106
|
+
High: 'HIGH',
|
|
107
|
+
Low: 'LOW',
|
|
108
|
+
Medium: 'MEDIUM',
|
|
109
|
+
None: 'NONE'
|
|
110
|
+
};
|
|
111
|
+
exports.AccessProfileEntitlementPrivilegeLevelSetByTypeEnum = {
|
|
112
|
+
Override: 'OVERRIDE',
|
|
113
|
+
CustomCriteria: 'CUSTOM_CRITERIA',
|
|
114
|
+
ConnectorCriteria: 'CONNECTOR_CRITERIA',
|
|
115
|
+
SingleLevelCriteria: 'SINGLE_LEVEL_CRITERIA'
|
|
116
|
+
};
|
|
117
|
+
exports.AccessProfileEntitlementPrivilegeLevelInheritedEnum = {
|
|
118
|
+
High: 'HIGH',
|
|
119
|
+
Low: 'LOW',
|
|
120
|
+
Medium: 'MEDIUM',
|
|
121
|
+
None: 'NONE'
|
|
122
|
+
};
|
|
123
|
+
exports.AccessProfileEntitlementPrivilegeLevelEffectiveEnum = {
|
|
124
|
+
High: 'HIGH',
|
|
125
|
+
Low: 'LOW',
|
|
126
|
+
Medium: 'MEDIUM',
|
|
127
|
+
None: 'NONE'
|
|
128
|
+
};
|
|
105
129
|
exports.AccessProfileMetadataBulkUpdateByFilterRequestOperationEnum = {
|
|
106
130
|
Add: 'ADD',
|
|
107
131
|
Remove: 'REMOVE',
|
|
@@ -141,12 +165,26 @@ exports.AccessProfileMetadataBulkUpdateResponseStatusEnum = {
|
|
|
141
165
|
PreProcessFailed: 'PRE_PROCESS_FAILED',
|
|
142
166
|
Failed: 'FAILED'
|
|
143
167
|
};
|
|
168
|
+
exports.AccessProfilePrivilegeLevelEffectiveEnum = {
|
|
169
|
+
None: 'NONE',
|
|
170
|
+
Low: 'LOW',
|
|
171
|
+
Medium: 'MEDIUM',
|
|
172
|
+
High: 'HIGH',
|
|
173
|
+
Undetermined: 'UNDETERMINED'
|
|
174
|
+
};
|
|
144
175
|
exports.AccessProfileSourceRefTypeEnum = {
|
|
145
176
|
Source: 'SOURCE'
|
|
146
177
|
};
|
|
147
178
|
exports.AccessProfileUsageUsedByInnerTypeEnum = {
|
|
148
179
|
Role: 'ROLE'
|
|
149
180
|
};
|
|
181
|
+
exports.Accessprofilev2PrivilegeLevelEffectiveEnum = {
|
|
182
|
+
None: 'NONE',
|
|
183
|
+
Low: 'LOW',
|
|
184
|
+
Medium: 'MEDIUM',
|
|
185
|
+
High: 'HIGH',
|
|
186
|
+
Undetermined: 'UNDETERMINED'
|
|
187
|
+
};
|
|
150
188
|
exports.AdditionalOwnerRefTypeEnum = {
|
|
151
189
|
Identity: 'IDENTITY',
|
|
152
190
|
GovernanceGroup: 'GOVERNANCE_GROUP'
|
|
@@ -158,6 +196,30 @@ exports.AttributeValueDTOTypeEnum = {
|
|
|
158
196
|
exports.EntitlementOwnerTypeEnum = {
|
|
159
197
|
Identity: 'IDENTITY'
|
|
160
198
|
};
|
|
199
|
+
exports.EntitlementPrivilegeLevelDirectEnum = {
|
|
200
|
+
High: 'HIGH',
|
|
201
|
+
Low: 'LOW',
|
|
202
|
+
Medium: 'MEDIUM',
|
|
203
|
+
None: 'NONE'
|
|
204
|
+
};
|
|
205
|
+
exports.EntitlementPrivilegeLevelSetByTypeEnum = {
|
|
206
|
+
Override: 'OVERRIDE',
|
|
207
|
+
CustomCriteria: 'CUSTOM_CRITERIA',
|
|
208
|
+
ConnectorCriteria: 'CONNECTOR_CRITERIA',
|
|
209
|
+
SingleLevelCriteria: 'SINGLE_LEVEL_CRITERIA'
|
|
210
|
+
};
|
|
211
|
+
exports.EntitlementPrivilegeLevelInheritedEnum = {
|
|
212
|
+
High: 'HIGH',
|
|
213
|
+
Low: 'LOW',
|
|
214
|
+
Medium: 'MEDIUM',
|
|
215
|
+
None: 'NONE'
|
|
216
|
+
};
|
|
217
|
+
exports.EntitlementPrivilegeLevelEffectiveEnum = {
|
|
218
|
+
High: 'HIGH',
|
|
219
|
+
Low: 'LOW',
|
|
220
|
+
Medium: 'MEDIUM',
|
|
221
|
+
None: 'NONE'
|
|
222
|
+
};
|
|
161
223
|
exports.EntitlementRefTypeEnum = {
|
|
162
224
|
Entitlement: 'ENTITLEMENT'
|
|
163
225
|
};
|
|
@@ -235,6 +297,47 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
235
297
|
});
|
|
236
298
|
});
|
|
237
299
|
},
|
|
300
|
+
/**
|
|
301
|
+
* Create an access profile. This version accepts the same request body and applies the same validation as [Create Access Profile V1](https://developer.sailpoint.com/docs/api/create-access-profile-v-1). It returns the v2 access profile shape, which adds the read-only `privilegeLevel` field. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes. >**Note:** `privilegeLevel` is read-only and is ignored if supplied in the request body. It is calculated asynchronously from the access profile\'s entitlements, so it is typically absent from the create response.
|
|
302
|
+
* @summary Create access profile
|
|
303
|
+
* @param {Accessprofilev2} accessprofilev2
|
|
304
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
305
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
*/
|
|
308
|
+
createAccessProfileV2: function (accessprofilev2, xSailPointExperimental, axiosOptions) {
|
|
309
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
310
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
311
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
312
|
+
return __generator(this, function (_a) {
|
|
313
|
+
// verify required parameter 'accessprofilev2' is not null or undefined
|
|
314
|
+
(0, common_1.assertParamExists)('createAccessProfileV2', 'accessprofilev2', accessprofilev2);
|
|
315
|
+
if (xSailPointExperimental === undefined) {
|
|
316
|
+
xSailPointExperimental = 'true';
|
|
317
|
+
}
|
|
318
|
+
localVarPath = "/access-profiles/v2";
|
|
319
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
320
|
+
if (configuration) {
|
|
321
|
+
baseOptions = configuration.baseOptions;
|
|
322
|
+
}
|
|
323
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
324
|
+
localVarHeaderParameter = {};
|
|
325
|
+
localVarQueryParameter = {};
|
|
326
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
327
|
+
if (xSailPointExperimental != null) {
|
|
328
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
329
|
+
}
|
|
330
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
331
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
332
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
333
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessprofilev2, localVarRequestOptions, configuration);
|
|
334
|
+
return [2 /*return*/, {
|
|
335
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
336
|
+
axiosOptions: localVarRequestOptions,
|
|
337
|
+
}];
|
|
338
|
+
});
|
|
339
|
+
});
|
|
340
|
+
},
|
|
238
341
|
/**
|
|
239
342
|
* This API deletes an existing Access Profile. The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A user with SOURCE_SUBADMIN must be able to administer the Source associated with the Access Profile.
|
|
240
343
|
* @summary Delete the specified access profile
|
|
@@ -268,6 +371,46 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
268
371
|
});
|
|
269
372
|
});
|
|
270
373
|
},
|
|
374
|
+
/**
|
|
375
|
+
* This API deletes an existing Access Profile. This version behaves identically to [Delete the Specified Access Profile V1](https://developer.sailpoint.com/docs/api/delete-access-profile-v-1). The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A user with SOURCE_SUBADMIN must be able to administer the Source associated with the Access Profile.
|
|
376
|
+
* @summary Delete the specified access profile
|
|
377
|
+
* @param {string} id ID of the Access Profile to delete
|
|
378
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
379
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
deleteAccessProfileV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
383
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
384
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
385
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
386
|
+
return __generator(this, function (_a) {
|
|
387
|
+
// verify required parameter 'id' is not null or undefined
|
|
388
|
+
(0, common_1.assertParamExists)('deleteAccessProfileV2', 'id', id);
|
|
389
|
+
if (xSailPointExperimental === undefined) {
|
|
390
|
+
xSailPointExperimental = 'true';
|
|
391
|
+
}
|
|
392
|
+
localVarPath = "/access-profiles/v2/{id}"
|
|
393
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
394
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
395
|
+
if (configuration) {
|
|
396
|
+
baseOptions = configuration.baseOptions;
|
|
397
|
+
}
|
|
398
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
399
|
+
localVarHeaderParameter = {};
|
|
400
|
+
localVarQueryParameter = {};
|
|
401
|
+
if (xSailPointExperimental != null) {
|
|
402
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
403
|
+
}
|
|
404
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
405
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
406
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
407
|
+
return [2 /*return*/, {
|
|
408
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
409
|
+
axiosOptions: localVarRequestOptions,
|
|
410
|
+
}];
|
|
411
|
+
});
|
|
412
|
+
});
|
|
413
|
+
},
|
|
271
414
|
/**
|
|
272
415
|
* This endpoint initiates a bulk deletion of one or more access profiles. When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/get-task-status-v-1), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they\'re able to administer.
|
|
273
416
|
* @summary Delete access profile(s)
|
|
@@ -302,6 +445,47 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
302
445
|
});
|
|
303
446
|
});
|
|
304
447
|
},
|
|
448
|
+
/**
|
|
449
|
+
* This endpoint initiates a bulk deletion of one or more access profiles. This version behaves identically to [Delete Access Profile(s) V1](https://developer.sailpoint.com/docs/api/delete-access-profiles-in-bulk-v-1). When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/get-task-status-v-1), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they\'re able to administer.
|
|
450
|
+
* @summary Delete access profile(s)
|
|
451
|
+
* @param {AccessProfileBulkDeleteRequest} accessProfileBulkDeleteRequest
|
|
452
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
453
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
454
|
+
* @throws {RequiredError}
|
|
455
|
+
*/
|
|
456
|
+
deleteAccessProfilesInBulkV2: function (accessProfileBulkDeleteRequest, xSailPointExperimental, axiosOptions) {
|
|
457
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
458
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
459
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
460
|
+
return __generator(this, function (_a) {
|
|
461
|
+
// verify required parameter 'accessProfileBulkDeleteRequest' is not null or undefined
|
|
462
|
+
(0, common_1.assertParamExists)('deleteAccessProfilesInBulkV2', 'accessProfileBulkDeleteRequest', accessProfileBulkDeleteRequest);
|
|
463
|
+
if (xSailPointExperimental === undefined) {
|
|
464
|
+
xSailPointExperimental = 'true';
|
|
465
|
+
}
|
|
466
|
+
localVarPath = "/access-profiles/v2/bulk-delete";
|
|
467
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
468
|
+
if (configuration) {
|
|
469
|
+
baseOptions = configuration.baseOptions;
|
|
470
|
+
}
|
|
471
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
472
|
+
localVarHeaderParameter = {};
|
|
473
|
+
localVarQueryParameter = {};
|
|
474
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
475
|
+
if (xSailPointExperimental != null) {
|
|
476
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
477
|
+
}
|
|
478
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
479
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
480
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
481
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessProfileBulkDeleteRequest, localVarRequestOptions, configuration);
|
|
482
|
+
return [2 /*return*/, {
|
|
483
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
484
|
+
axiosOptions: localVarRequestOptions,
|
|
485
|
+
}];
|
|
486
|
+
});
|
|
487
|
+
});
|
|
488
|
+
},
|
|
305
489
|
/**
|
|
306
490
|
* This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
|
|
307
491
|
* @summary Remove metadata from access profile
|
|
@@ -396,6 +580,70 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
396
580
|
});
|
|
397
581
|
});
|
|
398
582
|
},
|
|
583
|
+
/**
|
|
584
|
+
* Get a list of an access profile\'s entitlements. This version reads from Search Lite and returns a superset of the entitlement returned by [List Access Profile\'s Entitlements V1](https://developer.sailpoint.com/docs/api/get-access-profile-entitlements-v-1), adding the entitlement\'s `tags` and calculated `privilegeLevel`. It also supports opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header. A SOURCE_SUBADMIN user must have access to the source associated with the specified access profile.
|
|
585
|
+
* @summary List access profile\'s entitlements
|
|
586
|
+
* @param {string} id ID of the access profile containing the entitlements.
|
|
587
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
588
|
+
* @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
589
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Must be 0 when you supply a `cursor`, and `offset` plus `limit` must not exceed 10000. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
590
|
+
* @param {boolean} [count] 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 [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
591
|
+
* @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in, co* **attribute**: *eq, co* **value**: *eq, co* **created**: *lt, le, gt, ge* **modified**: *lt, le, gt, ge* **privilegeLevel.effective**: *eq, in* Results are automatically scoped to entitlements belonging to the access profile.
|
|
592
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, attribute, value, created, modified, id, privilegeLevel.effective** Defaults to **created** ascending when omitted.
|
|
593
|
+
* @param {string} [cursor] Opaque cursor taken from the `X-Next-Cursor` header of a previous response, used to retrieve the next page of results. When you supply a cursor, `offset` must be 0.
|
|
594
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
595
|
+
* @throws {RequiredError}
|
|
596
|
+
*/
|
|
597
|
+
getAccessProfileEntitlementsV2: function (id, xSailPointExperimental, limit, offset, count, filters, sorters, cursor, axiosOptions) {
|
|
598
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
599
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
600
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
601
|
+
return __generator(this, function (_a) {
|
|
602
|
+
// verify required parameter 'id' is not null or undefined
|
|
603
|
+
(0, common_1.assertParamExists)('getAccessProfileEntitlementsV2', 'id', id);
|
|
604
|
+
if (xSailPointExperimental === undefined) {
|
|
605
|
+
xSailPointExperimental = 'true';
|
|
606
|
+
}
|
|
607
|
+
localVarPath = "/access-profiles/v2/{id}/entitlements"
|
|
608
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
609
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
610
|
+
if (configuration) {
|
|
611
|
+
baseOptions = configuration.baseOptions;
|
|
612
|
+
}
|
|
613
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
614
|
+
localVarHeaderParameter = {};
|
|
615
|
+
localVarQueryParameter = {};
|
|
616
|
+
if (limit !== undefined) {
|
|
617
|
+
localVarQueryParameter['limit'] = limit;
|
|
618
|
+
}
|
|
619
|
+
if (offset !== undefined) {
|
|
620
|
+
localVarQueryParameter['offset'] = offset;
|
|
621
|
+
}
|
|
622
|
+
if (count !== undefined) {
|
|
623
|
+
localVarQueryParameter['count'] = count;
|
|
624
|
+
}
|
|
625
|
+
if (filters !== undefined) {
|
|
626
|
+
localVarQueryParameter['filters'] = filters;
|
|
627
|
+
}
|
|
628
|
+
if (sorters !== undefined) {
|
|
629
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
630
|
+
}
|
|
631
|
+
if (cursor !== undefined) {
|
|
632
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
633
|
+
}
|
|
634
|
+
if (xSailPointExperimental != null) {
|
|
635
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
636
|
+
}
|
|
637
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
638
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
639
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
640
|
+
return [2 /*return*/, {
|
|
641
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
642
|
+
axiosOptions: localVarRequestOptions,
|
|
643
|
+
}];
|
|
644
|
+
});
|
|
645
|
+
});
|
|
646
|
+
},
|
|
399
647
|
/**
|
|
400
648
|
* This API returns an Access Profile by its ID. The `accessRequestConfig.formDefinitionId` field associates an optional custom form with access profile access requests.
|
|
401
649
|
* @summary Get an access profile
|
|
@@ -429,6 +677,46 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
429
677
|
});
|
|
430
678
|
});
|
|
431
679
|
},
|
|
680
|
+
/**
|
|
681
|
+
* Get an access profile by its ID. This version reads from Search Lite and returns the same access profile shape as [Get Access Profile V1](https://developer.sailpoint.com/docs/api/get-access-profile-v-1), with the calculated `privilegeLevel` field added.
|
|
682
|
+
* @summary Get an access profile
|
|
683
|
+
* @param {string} id ID of the Access Profile
|
|
684
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
685
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
686
|
+
* @throws {RequiredError}
|
|
687
|
+
*/
|
|
688
|
+
getAccessProfileV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
689
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
690
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
691
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
692
|
+
return __generator(this, function (_a) {
|
|
693
|
+
// verify required parameter 'id' is not null or undefined
|
|
694
|
+
(0, common_1.assertParamExists)('getAccessProfileV2', 'id', id);
|
|
695
|
+
if (xSailPointExperimental === undefined) {
|
|
696
|
+
xSailPointExperimental = 'true';
|
|
697
|
+
}
|
|
698
|
+
localVarPath = "/access-profiles/v2/{id}"
|
|
699
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
700
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
701
|
+
if (configuration) {
|
|
702
|
+
baseOptions = configuration.baseOptions;
|
|
703
|
+
}
|
|
704
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
705
|
+
localVarHeaderParameter = {};
|
|
706
|
+
localVarQueryParameter = {};
|
|
707
|
+
if (xSailPointExperimental != null) {
|
|
708
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
709
|
+
}
|
|
710
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
711
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
712
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
713
|
+
return [2 /*return*/, {
|
|
714
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
715
|
+
axiosOptions: localVarRequestOptions,
|
|
716
|
+
}];
|
|
717
|
+
});
|
|
718
|
+
});
|
|
719
|
+
},
|
|
432
720
|
/**
|
|
433
721
|
* Get a list of access profiles. >**Note:** When you filter for access profiles that have the \'+\' symbol in their names, the response is blank.
|
|
434
722
|
* @summary List access profiles
|
|
@@ -490,6 +778,78 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
490
778
|
});
|
|
491
779
|
});
|
|
492
780
|
},
|
|
781
|
+
/**
|
|
782
|
+
* Get a list of access profiles. This version reads from Search Lite and returns the same access profile shape as [List Access Profiles V1](https://developer.sailpoint.com/docs/api/list-access-profiles-v-1), with two additions: the calculated `privilegeLevel` field, and opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header. >**Note:** When you omit `sorters`, results are sorted by `created` ascending. For deterministic ordering across pages, always specify explicit sorters. When you use cursor pagination, include `id` in `sorters`; the service appends it automatically if you omit it. >**Note:** `offset` and `cursor` are mutually exclusive. Use `offset=0` along with a cursor value taken from a prior response\'s `X-Next-Cursor` header.
|
|
783
|
+
* @summary List access profiles
|
|
784
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
785
|
+
* @param {string} [forSubadmin] Filters the returned list according to what is visible to the indicated ROLE_SUBADMIN or SOURCE_SUBADMIN identity. The value of the parameter is either an identity ID or the special value **me**, which is shorthand for the calling identity\'s ID. If you specify an identity that isn\'t a subadmin, the API returns a 400 Bad Request error.
|
|
786
|
+
* @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
787
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Must be 0 when you supply a `cursor`, and `offset` plus `limit` must not exceed 10000. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
788
|
+
* @param {boolean} [count] 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 [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
789
|
+
* @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in, co* **created**: *lt, le, gt, ge* **modified**: *lt, le, gt, ge* **requestable**: *eq* **source.id**: *eq, in* **owner.id**: *eq, in* **additionalOwners.id**: *eq, in* **dimensional**: *eq* **entitlement.id**: *eq, in* **entitlement.name**: *eq, co* **privilegeLevel.effective**: *eq, in* Supported composite operators are *and, or*
|
|
790
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified, id, privilegeLevel.effective** Defaults to **created** ascending when omitted.
|
|
791
|
+
* @param {string} [forSegmentIds] Filters access profiles to only those assigned to the segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error.
|
|
792
|
+
* @param {boolean} [includeUnsegmented] Indicates whether the response list should contain unsegmented access profiles. If `for-segment-ids` is absent or empty, specifying *include-unsegmented* as `false` results in an error.
|
|
793
|
+
* @param {string} [cursor] Opaque cursor taken from the `X-Next-Cursor` header of a previous response, used to retrieve the next page of results. When you supply a cursor, `offset` must be 0.
|
|
794
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
*/
|
|
797
|
+
listAccessProfilesV2: function (xSailPointExperimental, forSubadmin, limit, offset, count, filters, sorters, forSegmentIds, includeUnsegmented, cursor, axiosOptions) {
|
|
798
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
799
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
800
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
801
|
+
return __generator(this, function (_a) {
|
|
802
|
+
if (xSailPointExperimental === undefined) {
|
|
803
|
+
xSailPointExperimental = 'true';
|
|
804
|
+
}
|
|
805
|
+
localVarPath = "/access-profiles/v2";
|
|
806
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
807
|
+
if (configuration) {
|
|
808
|
+
baseOptions = configuration.baseOptions;
|
|
809
|
+
}
|
|
810
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
811
|
+
localVarHeaderParameter = {};
|
|
812
|
+
localVarQueryParameter = {};
|
|
813
|
+
if (forSubadmin !== undefined) {
|
|
814
|
+
localVarQueryParameter['for-subadmin'] = forSubadmin;
|
|
815
|
+
}
|
|
816
|
+
if (limit !== undefined) {
|
|
817
|
+
localVarQueryParameter['limit'] = limit;
|
|
818
|
+
}
|
|
819
|
+
if (offset !== undefined) {
|
|
820
|
+
localVarQueryParameter['offset'] = offset;
|
|
821
|
+
}
|
|
822
|
+
if (count !== undefined) {
|
|
823
|
+
localVarQueryParameter['count'] = count;
|
|
824
|
+
}
|
|
825
|
+
if (filters !== undefined) {
|
|
826
|
+
localVarQueryParameter['filters'] = filters;
|
|
827
|
+
}
|
|
828
|
+
if (sorters !== undefined) {
|
|
829
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
830
|
+
}
|
|
831
|
+
if (forSegmentIds !== undefined) {
|
|
832
|
+
localVarQueryParameter['for-segment-ids'] = forSegmentIds;
|
|
833
|
+
}
|
|
834
|
+
if (includeUnsegmented !== undefined) {
|
|
835
|
+
localVarQueryParameter['include-unsegmented'] = includeUnsegmented;
|
|
836
|
+
}
|
|
837
|
+
if (cursor !== undefined) {
|
|
838
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
839
|
+
}
|
|
840
|
+
if (xSailPointExperimental != null) {
|
|
841
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
842
|
+
}
|
|
843
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
844
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
845
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
846
|
+
return [2 /*return*/, {
|
|
847
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
848
|
+
axiosOptions: localVarRequestOptions,
|
|
849
|
+
}];
|
|
850
|
+
});
|
|
851
|
+
});
|
|
852
|
+
},
|
|
493
853
|
/**
|
|
494
854
|
* This API updates an existing Access Profile. The following fields are patchable: **name** **description** **enabled** **owner** **additionalOwners** **requestable** **accessRequestConfig** **revokeRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example \"Replace Source\" in the examples dropdown. Set `accessRequestConfig.formDefinitionId` to associate an optional custom form with access profile access requests. A user with SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile\'s source.
|
|
495
855
|
* @summary Patch a specified access profile
|
|
@@ -528,6 +888,51 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
528
888
|
});
|
|
529
889
|
});
|
|
530
890
|
},
|
|
891
|
+
/**
|
|
892
|
+
* This API updates an existing Access Profile. This version patches the same fields as [Patch a Specified Access Profile V1](https://developer.sailpoint.com/docs/api/patch-access-profile-v-1). It returns the v2 access profile shape, which adds the read-only `privilegeLevel` field. The following fields are patchable: **name** **description** **enabled** **owner** **additionalOwners** **requestable** **accessRequestConfig** **revocationRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example \"Replace Source\" in the examples dropdown. A user with SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile\'s source. >**Note:** `privilegeLevel` is read-only and cannot be patched. Changing the access profile\'s entitlements recalculates it asynchronously, so the patch response may still show the previous value.
|
|
893
|
+
* @summary Patch a specified access profile
|
|
894
|
+
* @param {string} id ID of the Access Profile to patch
|
|
895
|
+
* @param {Array<JsonPatchOperation>} jsonPatchOperation
|
|
896
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
897
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
898
|
+
* @throws {RequiredError}
|
|
899
|
+
*/
|
|
900
|
+
patchAccessProfileV2: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
901
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
902
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
903
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
904
|
+
return __generator(this, function (_a) {
|
|
905
|
+
// verify required parameter 'id' is not null or undefined
|
|
906
|
+
(0, common_1.assertParamExists)('patchAccessProfileV2', 'id', id);
|
|
907
|
+
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
908
|
+
(0, common_1.assertParamExists)('patchAccessProfileV2', 'jsonPatchOperation', jsonPatchOperation);
|
|
909
|
+
if (xSailPointExperimental === undefined) {
|
|
910
|
+
xSailPointExperimental = 'true';
|
|
911
|
+
}
|
|
912
|
+
localVarPath = "/access-profiles/v2/{id}"
|
|
913
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
914
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
915
|
+
if (configuration) {
|
|
916
|
+
baseOptions = configuration.baseOptions;
|
|
917
|
+
}
|
|
918
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
919
|
+
localVarHeaderParameter = {};
|
|
920
|
+
localVarQueryParameter = {};
|
|
921
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
922
|
+
if (xSailPointExperimental != null) {
|
|
923
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
924
|
+
}
|
|
925
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
926
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
927
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
928
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonPatchOperation, localVarRequestOptions, configuration);
|
|
929
|
+
return [2 /*return*/, {
|
|
930
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
931
|
+
axiosOptions: localVarRequestOptions,
|
|
932
|
+
}];
|
|
933
|
+
});
|
|
934
|
+
});
|
|
935
|
+
},
|
|
531
936
|
/**
|
|
532
937
|
* Get a list of access profiles filtered by Access Model Metadata and by filter expression. Filtering is supported by filter expression, by metadata attribute key and values, or by both together.
|
|
533
938
|
* @summary Filter access profiles by metadata
|
|
@@ -590,6 +995,79 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
590
995
|
});
|
|
591
996
|
});
|
|
592
997
|
},
|
|
998
|
+
/**
|
|
999
|
+
* Get a list of access profiles, supplying the filter criteria and access model metadata key/values in the request body rather than as query parameters. Use this endpoint when you need to filter by access model metadata, or when your filter expression is too long to pass as a query parameter. Pagination, sorting, subadmin scoping, and segment scoping behave the same as [List Access Profiles V2](https://developer.sailpoint.com/docs/api/list-access-profiles-v-2), including opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header.
|
|
1000
|
+
* @summary List access profiles by filter
|
|
1001
|
+
* @param {AccessProfileListFilterV2} accessProfileListFilterV2
|
|
1002
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1003
|
+
* @param {string} [forSubadmin] Filters the returned list according to what is visible to the indicated ROLE_SUBADMIN or SOURCE_SUBADMIN identity. The value of the parameter is either an identity ID or the special value **me**, which is shorthand for the calling identity\'s ID. If you specify an identity that isn\'t a subadmin, the API returns a 400 Bad Request error.
|
|
1004
|
+
* @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1005
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Must be 0 when you supply a `cursor`, and `offset` plus `limit` must not exceed 10000. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1006
|
+
* @param {boolean} [count] 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 [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1007
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified, id, privilegeLevel.effective** Defaults to **created** ascending when omitted.
|
|
1008
|
+
* @param {string} [forSegmentIds] Filters access profiles to only those assigned to the segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error.
|
|
1009
|
+
* @param {boolean} [includeUnsegmented] Indicates whether the response list should contain unsegmented access profiles. If `for-segment-ids` is absent or empty, specifying *include-unsegmented* as `false` results in an error.
|
|
1010
|
+
* @param {string} [cursor] Opaque cursor taken from the `X-Next-Cursor` header of a previous response, used to retrieve the next page of results. When you supply a cursor, `offset` must be 0.
|
|
1011
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1012
|
+
* @throws {RequiredError}
|
|
1013
|
+
*/
|
|
1014
|
+
searchAccessProfilesByFilterV2: function (accessProfileListFilterV2, xSailPointExperimental, forSubadmin, limit, offset, count, sorters, forSegmentIds, includeUnsegmented, cursor, axiosOptions) {
|
|
1015
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
1016
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1017
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1018
|
+
return __generator(this, function (_a) {
|
|
1019
|
+
// verify required parameter 'accessProfileListFilterV2' is not null or undefined
|
|
1020
|
+
(0, common_1.assertParamExists)('searchAccessProfilesByFilterV2', 'accessProfileListFilterV2', accessProfileListFilterV2);
|
|
1021
|
+
if (xSailPointExperimental === undefined) {
|
|
1022
|
+
xSailPointExperimental = 'true';
|
|
1023
|
+
}
|
|
1024
|
+
localVarPath = "/access-profiles/v2/filter";
|
|
1025
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1026
|
+
if (configuration) {
|
|
1027
|
+
baseOptions = configuration.baseOptions;
|
|
1028
|
+
}
|
|
1029
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
1030
|
+
localVarHeaderParameter = {};
|
|
1031
|
+
localVarQueryParameter = {};
|
|
1032
|
+
if (forSubadmin !== undefined) {
|
|
1033
|
+
localVarQueryParameter['for-subadmin'] = forSubadmin;
|
|
1034
|
+
}
|
|
1035
|
+
if (limit !== undefined) {
|
|
1036
|
+
localVarQueryParameter['limit'] = limit;
|
|
1037
|
+
}
|
|
1038
|
+
if (offset !== undefined) {
|
|
1039
|
+
localVarQueryParameter['offset'] = offset;
|
|
1040
|
+
}
|
|
1041
|
+
if (count !== undefined) {
|
|
1042
|
+
localVarQueryParameter['count'] = count;
|
|
1043
|
+
}
|
|
1044
|
+
if (sorters !== undefined) {
|
|
1045
|
+
localVarQueryParameter['sorters'] = sorters;
|
|
1046
|
+
}
|
|
1047
|
+
if (forSegmentIds !== undefined) {
|
|
1048
|
+
localVarQueryParameter['for-segment-ids'] = forSegmentIds;
|
|
1049
|
+
}
|
|
1050
|
+
if (includeUnsegmented !== undefined) {
|
|
1051
|
+
localVarQueryParameter['include-unsegmented'] = includeUnsegmented;
|
|
1052
|
+
}
|
|
1053
|
+
if (cursor !== undefined) {
|
|
1054
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
1055
|
+
}
|
|
1056
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1057
|
+
if (xSailPointExperimental != null) {
|
|
1058
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
1059
|
+
}
|
|
1060
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1061
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1062
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
1063
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessProfileListFilterV2, localVarRequestOptions, configuration);
|
|
1064
|
+
return [2 /*return*/, {
|
|
1065
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1066
|
+
axiosOptions: localVarRequestOptions,
|
|
1067
|
+
}];
|
|
1068
|
+
});
|
|
1069
|
+
});
|
|
1070
|
+
},
|
|
593
1071
|
/**
|
|
594
1072
|
* This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
|
|
595
1073
|
* @summary Update access profile(s) requestable field.
|
|
@@ -624,6 +1102,47 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
624
1102
|
});
|
|
625
1103
|
});
|
|
626
1104
|
},
|
|
1105
|
+
/**
|
|
1106
|
+
* This API initiates a bulk update of field requestable for one or more Access Profiles. This version behaves identically to [Update Access Profile(s) Requestable Field V1](https://developer.sailpoint.com/docs/api/update-access-profiles-in-bulk-v-1). > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
|
|
1107
|
+
* @summary Update access profile(s) requestable field.
|
|
1108
|
+
* @param {Array<AccessProfileBulkUpdateRequestInner>} accessProfileBulkUpdateRequestInner
|
|
1109
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1110
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1111
|
+
* @throws {RequiredError}
|
|
1112
|
+
*/
|
|
1113
|
+
updateAccessProfilesInBulkV2: function (accessProfileBulkUpdateRequestInner, xSailPointExperimental, axiosOptions) {
|
|
1114
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
1115
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1116
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1117
|
+
return __generator(this, function (_a) {
|
|
1118
|
+
// verify required parameter 'accessProfileBulkUpdateRequestInner' is not null or undefined
|
|
1119
|
+
(0, common_1.assertParamExists)('updateAccessProfilesInBulkV2', 'accessProfileBulkUpdateRequestInner', accessProfileBulkUpdateRequestInner);
|
|
1120
|
+
if (xSailPointExperimental === undefined) {
|
|
1121
|
+
xSailPointExperimental = 'true';
|
|
1122
|
+
}
|
|
1123
|
+
localVarPath = "/access-profiles/v2/bulk-update-requestable";
|
|
1124
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1125
|
+
if (configuration) {
|
|
1126
|
+
baseOptions = configuration.baseOptions;
|
|
1127
|
+
}
|
|
1128
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
1129
|
+
localVarHeaderParameter = {};
|
|
1130
|
+
localVarQueryParameter = {};
|
|
1131
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1132
|
+
if (xSailPointExperimental != null) {
|
|
1133
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
1134
|
+
}
|
|
1135
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1136
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1137
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
1138
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessProfileBulkUpdateRequestInner, localVarRequestOptions, configuration);
|
|
1139
|
+
return [2 /*return*/, {
|
|
1140
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1141
|
+
axiosOptions: localVarRequestOptions,
|
|
1142
|
+
}];
|
|
1143
|
+
});
|
|
1144
|
+
});
|
|
1145
|
+
},
|
|
627
1146
|
/**
|
|
628
1147
|
* This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
|
|
629
1148
|
* @summary Bulk-update metadata by filter
|
|
@@ -800,6 +1319,30 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
800
1319
|
});
|
|
801
1320
|
});
|
|
802
1321
|
},
|
|
1322
|
+
/**
|
|
1323
|
+
* Create an access profile. This version accepts the same request body and applies the same validation as [Create Access Profile V1](https://developer.sailpoint.com/docs/api/create-access-profile-v-1). It returns the v2 access profile shape, which adds the read-only `privilegeLevel` field. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes. >**Note:** `privilegeLevel` is read-only and is ignored if supplied in the request body. It is calculated asynchronously from the access profile\'s entitlements, so it is typically absent from the create response.
|
|
1324
|
+
* @summary Create access profile
|
|
1325
|
+
* @param {Accessprofilev2} accessprofilev2
|
|
1326
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1327
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1328
|
+
* @throws {RequiredError}
|
|
1329
|
+
*/
|
|
1330
|
+
createAccessProfileV2: function (accessprofilev2, xSailPointExperimental, axiosOptions) {
|
|
1331
|
+
var _a, _b, _c;
|
|
1332
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1333
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1334
|
+
return __generator(this, function (_d) {
|
|
1335
|
+
switch (_d.label) {
|
|
1336
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createAccessProfileV2(accessprofilev2, xSailPointExperimental, axiosOptions)];
|
|
1337
|
+
case 1:
|
|
1338
|
+
localVarAxiosArgs = _d.sent();
|
|
1339
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1340
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.createAccessProfileV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1341
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1342
|
+
}
|
|
1343
|
+
});
|
|
1344
|
+
});
|
|
1345
|
+
},
|
|
803
1346
|
/**
|
|
804
1347
|
* This API deletes an existing Access Profile. The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A user with SOURCE_SUBADMIN must be able to administer the Source associated with the Access Profile.
|
|
805
1348
|
* @summary Delete the specified access profile
|
|
@@ -817,30 +1360,78 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
817
1360
|
case 1:
|
|
818
1361
|
localVarAxiosArgs = _d.sent();
|
|
819
1362
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
820
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.deleteAccessProfileV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1363
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.deleteAccessProfileV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1364
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1365
|
+
}
|
|
1366
|
+
});
|
|
1367
|
+
});
|
|
1368
|
+
},
|
|
1369
|
+
/**
|
|
1370
|
+
* This API deletes an existing Access Profile. This version behaves identically to [Delete the Specified Access Profile V1](https://developer.sailpoint.com/docs/api/delete-access-profile-v-1). The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A user with SOURCE_SUBADMIN must be able to administer the Source associated with the Access Profile.
|
|
1371
|
+
* @summary Delete the specified access profile
|
|
1372
|
+
* @param {string} id ID of the Access Profile to delete
|
|
1373
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1374
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1375
|
+
* @throws {RequiredError}
|
|
1376
|
+
*/
|
|
1377
|
+
deleteAccessProfileV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
1378
|
+
var _a, _b, _c;
|
|
1379
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1380
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1381
|
+
return __generator(this, function (_d) {
|
|
1382
|
+
switch (_d.label) {
|
|
1383
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAccessProfileV2(id, xSailPointExperimental, axiosOptions)];
|
|
1384
|
+
case 1:
|
|
1385
|
+
localVarAxiosArgs = _d.sent();
|
|
1386
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1387
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.deleteAccessProfileV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1388
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1389
|
+
}
|
|
1390
|
+
});
|
|
1391
|
+
});
|
|
1392
|
+
},
|
|
1393
|
+
/**
|
|
1394
|
+
* This endpoint initiates a bulk deletion of one or more access profiles. When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/get-task-status-v-1), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they\'re able to administer.
|
|
1395
|
+
* @summary Delete access profile(s)
|
|
1396
|
+
* @param {AccessProfileBulkDeleteRequest} accessProfileBulkDeleteRequest
|
|
1397
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1398
|
+
* @throws {RequiredError}
|
|
1399
|
+
*/
|
|
1400
|
+
deleteAccessProfilesInBulkV1: function (accessProfileBulkDeleteRequest, axiosOptions) {
|
|
1401
|
+
var _a, _b, _c;
|
|
1402
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1403
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1404
|
+
return __generator(this, function (_d) {
|
|
1405
|
+
switch (_d.label) {
|
|
1406
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAccessProfilesInBulkV1(accessProfileBulkDeleteRequest, axiosOptions)];
|
|
1407
|
+
case 1:
|
|
1408
|
+
localVarAxiosArgs = _d.sent();
|
|
1409
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1410
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.deleteAccessProfilesInBulkV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
821
1411
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
822
1412
|
}
|
|
823
1413
|
});
|
|
824
1414
|
});
|
|
825
1415
|
},
|
|
826
1416
|
/**
|
|
827
|
-
* This endpoint initiates a bulk deletion of one or more access profiles. When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/get-task-status-v-1), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they\'re able to administer.
|
|
1417
|
+
* This endpoint initiates a bulk deletion of one or more access profiles. This version behaves identically to [Delete Access Profile(s) V1](https://developer.sailpoint.com/docs/api/delete-access-profiles-in-bulk-v-1). When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/get-task-status-v-1), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they\'re able to administer.
|
|
828
1418
|
* @summary Delete access profile(s)
|
|
829
1419
|
* @param {AccessProfileBulkDeleteRequest} accessProfileBulkDeleteRequest
|
|
1420
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
830
1421
|
* @param {*} [axiosOptions] Override http request option.
|
|
831
1422
|
* @throws {RequiredError}
|
|
832
1423
|
*/
|
|
833
|
-
|
|
1424
|
+
deleteAccessProfilesInBulkV2: function (accessProfileBulkDeleteRequest, xSailPointExperimental, axiosOptions) {
|
|
834
1425
|
var _a, _b, _c;
|
|
835
1426
|
return __awaiter(this, void 0, void 0, function () {
|
|
836
1427
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
837
1428
|
return __generator(this, function (_d) {
|
|
838
1429
|
switch (_d.label) {
|
|
839
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1430
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAccessProfilesInBulkV2(accessProfileBulkDeleteRequest, xSailPointExperimental, axiosOptions)];
|
|
840
1431
|
case 1:
|
|
841
1432
|
localVarAxiosArgs = _d.sent();
|
|
842
1433
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
843
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.
|
|
1434
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.deleteAccessProfilesInBulkV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
844
1435
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
845
1436
|
}
|
|
846
1437
|
});
|
|
@@ -899,6 +1490,36 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
899
1490
|
});
|
|
900
1491
|
});
|
|
901
1492
|
},
|
|
1493
|
+
/**
|
|
1494
|
+
* Get a list of an access profile\'s entitlements. This version reads from Search Lite and returns a superset of the entitlement returned by [List Access Profile\'s Entitlements V1](https://developer.sailpoint.com/docs/api/get-access-profile-entitlements-v-1), adding the entitlement\'s `tags` and calculated `privilegeLevel`. It also supports opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header. A SOURCE_SUBADMIN user must have access to the source associated with the specified access profile.
|
|
1495
|
+
* @summary List access profile\'s entitlements
|
|
1496
|
+
* @param {string} id ID of the access profile containing the entitlements.
|
|
1497
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1498
|
+
* @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1499
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Must be 0 when you supply a `cursor`, and `offset` plus `limit` must not exceed 10000. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1500
|
+
* @param {boolean} [count] 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 [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1501
|
+
* @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in, co* **attribute**: *eq, co* **value**: *eq, co* **created**: *lt, le, gt, ge* **modified**: *lt, le, gt, ge* **privilegeLevel.effective**: *eq, in* Results are automatically scoped to entitlements belonging to the access profile.
|
|
1502
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, attribute, value, created, modified, id, privilegeLevel.effective** Defaults to **created** ascending when omitted.
|
|
1503
|
+
* @param {string} [cursor] Opaque cursor taken from the `X-Next-Cursor` header of a previous response, used to retrieve the next page of results. When you supply a cursor, `offset` must be 0.
|
|
1504
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
*/
|
|
1507
|
+
getAccessProfileEntitlementsV2: function (id, xSailPointExperimental, limit, offset, count, filters, sorters, cursor, axiosOptions) {
|
|
1508
|
+
var _a, _b, _c;
|
|
1509
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1510
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1511
|
+
return __generator(this, function (_d) {
|
|
1512
|
+
switch (_d.label) {
|
|
1513
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccessProfileEntitlementsV2(id, xSailPointExperimental, limit, offset, count, filters, sorters, cursor, axiosOptions)];
|
|
1514
|
+
case 1:
|
|
1515
|
+
localVarAxiosArgs = _d.sent();
|
|
1516
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1517
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.getAccessProfileEntitlementsV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1518
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1519
|
+
}
|
|
1520
|
+
});
|
|
1521
|
+
});
|
|
1522
|
+
},
|
|
902
1523
|
/**
|
|
903
1524
|
* This API returns an Access Profile by its ID. The `accessRequestConfig.formDefinitionId` field associates an optional custom form with access profile access requests.
|
|
904
1525
|
* @summary Get an access profile
|
|
@@ -922,6 +1543,30 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
922
1543
|
});
|
|
923
1544
|
});
|
|
924
1545
|
},
|
|
1546
|
+
/**
|
|
1547
|
+
* Get an access profile by its ID. This version reads from Search Lite and returns the same access profile shape as [Get Access Profile V1](https://developer.sailpoint.com/docs/api/get-access-profile-v-1), with the calculated `privilegeLevel` field added.
|
|
1548
|
+
* @summary Get an access profile
|
|
1549
|
+
* @param {string} id ID of the Access Profile
|
|
1550
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1551
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1552
|
+
* @throws {RequiredError}
|
|
1553
|
+
*/
|
|
1554
|
+
getAccessProfileV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
1555
|
+
var _a, _b, _c;
|
|
1556
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1557
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1558
|
+
return __generator(this, function (_d) {
|
|
1559
|
+
switch (_d.label) {
|
|
1560
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccessProfileV2(id, xSailPointExperimental, axiosOptions)];
|
|
1561
|
+
case 1:
|
|
1562
|
+
localVarAxiosArgs = _d.sent();
|
|
1563
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1564
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.getAccessProfileV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1565
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1566
|
+
}
|
|
1567
|
+
});
|
|
1568
|
+
});
|
|
1569
|
+
},
|
|
925
1570
|
/**
|
|
926
1571
|
* Get a list of access profiles. >**Note:** When you filter for access profiles that have the \'+\' symbol in their names, the response is blank.
|
|
927
1572
|
* @summary List access profiles
|
|
@@ -952,6 +1597,38 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
952
1597
|
});
|
|
953
1598
|
});
|
|
954
1599
|
},
|
|
1600
|
+
/**
|
|
1601
|
+
* Get a list of access profiles. This version reads from Search Lite and returns the same access profile shape as [List Access Profiles V1](https://developer.sailpoint.com/docs/api/list-access-profiles-v-1), with two additions: the calculated `privilegeLevel` field, and opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header. >**Note:** When you omit `sorters`, results are sorted by `created` ascending. For deterministic ordering across pages, always specify explicit sorters. When you use cursor pagination, include `id` in `sorters`; the service appends it automatically if you omit it. >**Note:** `offset` and `cursor` are mutually exclusive. Use `offset=0` along with a cursor value taken from a prior response\'s `X-Next-Cursor` header.
|
|
1602
|
+
* @summary List access profiles
|
|
1603
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1604
|
+
* @param {string} [forSubadmin] Filters the returned list according to what is visible to the indicated ROLE_SUBADMIN or SOURCE_SUBADMIN identity. The value of the parameter is either an identity ID or the special value **me**, which is shorthand for the calling identity\'s ID. If you specify an identity that isn\'t a subadmin, the API returns a 400 Bad Request error.
|
|
1605
|
+
* @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1606
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Must be 0 when you supply a `cursor`, and `offset` plus `limit` must not exceed 10000. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1607
|
+
* @param {boolean} [count] 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 [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1608
|
+
* @param {string} [filters] Filter results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in* **name**: *eq, in, co* **created**: *lt, le, gt, ge* **modified**: *lt, le, gt, ge* **requestable**: *eq* **source.id**: *eq, in* **owner.id**: *eq, in* **additionalOwners.id**: *eq, in* **dimensional**: *eq* **entitlement.id**: *eq, in* **entitlement.name**: *eq, co* **privilegeLevel.effective**: *eq, in* Supported composite operators are *and, or*
|
|
1609
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified, id, privilegeLevel.effective** Defaults to **created** ascending when omitted.
|
|
1610
|
+
* @param {string} [forSegmentIds] Filters access profiles to only those assigned to the segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error.
|
|
1611
|
+
* @param {boolean} [includeUnsegmented] Indicates whether the response list should contain unsegmented access profiles. If `for-segment-ids` is absent or empty, specifying *include-unsegmented* as `false` results in an error.
|
|
1612
|
+
* @param {string} [cursor] Opaque cursor taken from the `X-Next-Cursor` header of a previous response, used to retrieve the next page of results. When you supply a cursor, `offset` must be 0.
|
|
1613
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1614
|
+
* @throws {RequiredError}
|
|
1615
|
+
*/
|
|
1616
|
+
listAccessProfilesV2: function (xSailPointExperimental, forSubadmin, limit, offset, count, filters, sorters, forSegmentIds, includeUnsegmented, cursor, axiosOptions) {
|
|
1617
|
+
var _a, _b, _c;
|
|
1618
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1619
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1620
|
+
return __generator(this, function (_d) {
|
|
1621
|
+
switch (_d.label) {
|
|
1622
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAccessProfilesV2(xSailPointExperimental, forSubadmin, limit, offset, count, filters, sorters, forSegmentIds, includeUnsegmented, cursor, axiosOptions)];
|
|
1623
|
+
case 1:
|
|
1624
|
+
localVarAxiosArgs = _d.sent();
|
|
1625
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1626
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.listAccessProfilesV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1627
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1628
|
+
}
|
|
1629
|
+
});
|
|
1630
|
+
});
|
|
1631
|
+
},
|
|
955
1632
|
/**
|
|
956
1633
|
* This API updates an existing Access Profile. The following fields are patchable: **name** **description** **enabled** **owner** **additionalOwners** **requestable** **accessRequestConfig** **revokeRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example \"Replace Source\" in the examples dropdown. Set `accessRequestConfig.formDefinitionId` to associate an optional custom form with access profile access requests. A user with SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile\'s source.
|
|
957
1634
|
* @summary Patch a specified access profile
|
|
@@ -976,6 +1653,31 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
976
1653
|
});
|
|
977
1654
|
});
|
|
978
1655
|
},
|
|
1656
|
+
/**
|
|
1657
|
+
* This API updates an existing Access Profile. This version patches the same fields as [Patch a Specified Access Profile V1](https://developer.sailpoint.com/docs/api/patch-access-profile-v-1). It returns the v2 access profile shape, which adds the read-only `privilegeLevel` field. The following fields are patchable: **name** **description** **enabled** **owner** **additionalOwners** **requestable** **accessRequestConfig** **revocationRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example \"Replace Source\" in the examples dropdown. A user with SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile\'s source. >**Note:** `privilegeLevel` is read-only and cannot be patched. Changing the access profile\'s entitlements recalculates it asynchronously, so the patch response may still show the previous value.
|
|
1658
|
+
* @summary Patch a specified access profile
|
|
1659
|
+
* @param {string} id ID of the Access Profile to patch
|
|
1660
|
+
* @param {Array<JsonPatchOperation>} jsonPatchOperation
|
|
1661
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1662
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1663
|
+
* @throws {RequiredError}
|
|
1664
|
+
*/
|
|
1665
|
+
patchAccessProfileV2: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
1666
|
+
var _a, _b, _c;
|
|
1667
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1668
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1669
|
+
return __generator(this, function (_d) {
|
|
1670
|
+
switch (_d.label) {
|
|
1671
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAccessProfileV2(id, jsonPatchOperation, xSailPointExperimental, axiosOptions)];
|
|
1672
|
+
case 1:
|
|
1673
|
+
localVarAxiosArgs = _d.sent();
|
|
1674
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1675
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.patchAccessProfileV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1676
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1677
|
+
}
|
|
1678
|
+
});
|
|
1679
|
+
});
|
|
1680
|
+
},
|
|
979
1681
|
/**
|
|
980
1682
|
* Get a list of access profiles filtered by Access Model Metadata and by filter expression. Filtering is supported by filter expression, by metadata attribute key and values, or by both together.
|
|
981
1683
|
* @summary Filter access profiles by metadata
|
|
@@ -1006,6 +1708,38 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
1006
1708
|
});
|
|
1007
1709
|
});
|
|
1008
1710
|
},
|
|
1711
|
+
/**
|
|
1712
|
+
* Get a list of access profiles, supplying the filter criteria and access model metadata key/values in the request body rather than as query parameters. Use this endpoint when you need to filter by access model metadata, or when your filter expression is too long to pass as a query parameter. Pagination, sorting, subadmin scoping, and segment scoping behave the same as [List Access Profiles V2](https://developer.sailpoint.com/docs/api/list-access-profiles-v-2), including opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header.
|
|
1713
|
+
* @summary List access profiles by filter
|
|
1714
|
+
* @param {AccessProfileListFilterV2} accessProfileListFilterV2
|
|
1715
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1716
|
+
* @param {string} [forSubadmin] Filters the returned list according to what is visible to the indicated ROLE_SUBADMIN or SOURCE_SUBADMIN identity. The value of the parameter is either an identity ID or the special value **me**, which is shorthand for the calling identity\'s ID. If you specify an identity that isn\'t a subadmin, the API returns a 400 Bad Request error.
|
|
1717
|
+
* @param {number} [limit] Max number of results to return. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1718
|
+
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. Must be 0 when you supply a `cursor`, and `offset` plus `limit` must not exceed 10000. See [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1719
|
+
* @param {boolean} [count] 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 [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters) for more information.
|
|
1720
|
+
* @param {string} [sorters] Sort results using the standard syntax described in [API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, modified, id, privilegeLevel.effective** Defaults to **created** ascending when omitted.
|
|
1721
|
+
* @param {string} [forSegmentIds] Filters access profiles to only those assigned to the segment(s) with the specified IDs. If segmentation is currently unavailable, specifying this parameter results in an error.
|
|
1722
|
+
* @param {boolean} [includeUnsegmented] Indicates whether the response list should contain unsegmented access profiles. If `for-segment-ids` is absent or empty, specifying *include-unsegmented* as `false` results in an error.
|
|
1723
|
+
* @param {string} [cursor] Opaque cursor taken from the `X-Next-Cursor` header of a previous response, used to retrieve the next page of results. When you supply a cursor, `offset` must be 0.
|
|
1724
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1725
|
+
* @throws {RequiredError}
|
|
1726
|
+
*/
|
|
1727
|
+
searchAccessProfilesByFilterV2: function (accessProfileListFilterV2, xSailPointExperimental, forSubadmin, limit, offset, count, sorters, forSegmentIds, includeUnsegmented, cursor, axiosOptions) {
|
|
1728
|
+
var _a, _b, _c;
|
|
1729
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1730
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1731
|
+
return __generator(this, function (_d) {
|
|
1732
|
+
switch (_d.label) {
|
|
1733
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.searchAccessProfilesByFilterV2(accessProfileListFilterV2, xSailPointExperimental, forSubadmin, limit, offset, count, sorters, forSegmentIds, includeUnsegmented, cursor, axiosOptions)];
|
|
1734
|
+
case 1:
|
|
1735
|
+
localVarAxiosArgs = _d.sent();
|
|
1736
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1737
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.searchAccessProfilesByFilterV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1738
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1739
|
+
}
|
|
1740
|
+
});
|
|
1741
|
+
});
|
|
1742
|
+
},
|
|
1009
1743
|
/**
|
|
1010
1744
|
* This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
|
|
1011
1745
|
* @summary Update access profile(s) requestable field.
|
|
@@ -1029,6 +1763,30 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
1029
1763
|
});
|
|
1030
1764
|
});
|
|
1031
1765
|
},
|
|
1766
|
+
/**
|
|
1767
|
+
* This API initiates a bulk update of field requestable for one or more Access Profiles. This version behaves identically to [Update Access Profile(s) Requestable Field V1](https://developer.sailpoint.com/docs/api/update-access-profiles-in-bulk-v-1). > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
|
|
1768
|
+
* @summary Update access profile(s) requestable field.
|
|
1769
|
+
* @param {Array<AccessProfileBulkUpdateRequestInner>} accessProfileBulkUpdateRequestInner
|
|
1770
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1771
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1772
|
+
* @throws {RequiredError}
|
|
1773
|
+
*/
|
|
1774
|
+
updateAccessProfilesInBulkV2: function (accessProfileBulkUpdateRequestInner, xSailPointExperimental, axiosOptions) {
|
|
1775
|
+
var _a, _b, _c;
|
|
1776
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1777
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1778
|
+
return __generator(this, function (_d) {
|
|
1779
|
+
switch (_d.label) {
|
|
1780
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesInBulkV2(accessProfileBulkUpdateRequestInner, xSailPointExperimental, axiosOptions)];
|
|
1781
|
+
case 1:
|
|
1782
|
+
localVarAxiosArgs = _d.sent();
|
|
1783
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1784
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.updateAccessProfilesInBulkV2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1785
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1786
|
+
}
|
|
1787
|
+
});
|
|
1788
|
+
});
|
|
1789
|
+
},
|
|
1032
1790
|
/**
|
|
1033
1791
|
* This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
|
|
1034
1792
|
* @summary Bulk-update metadata by filter
|
|
@@ -1143,6 +1901,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1143
1901
|
createAccessProfileV1: function (requestParameters, axiosOptions) {
|
|
1144
1902
|
return localVarFp.createAccessProfileV1(requestParameters.accessProfile, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1145
1903
|
},
|
|
1904
|
+
/**
|
|
1905
|
+
* Create an access profile. This version accepts the same request body and applies the same validation as [Create Access Profile V1](https://developer.sailpoint.com/docs/api/create-access-profile-v-1). It returns the v2 access profile shape, which adds the read-only `privilegeLevel` field. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes. >**Note:** `privilegeLevel` is read-only and is ignored if supplied in the request body. It is calculated asynchronously from the access profile\'s entitlements, so it is typically absent from the create response.
|
|
1906
|
+
* @summary Create access profile
|
|
1907
|
+
* @param {AccessProfilesApiCreateAccessProfileV2Request} requestParameters Request parameters.
|
|
1908
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1909
|
+
* @throws {RequiredError}
|
|
1910
|
+
*/
|
|
1911
|
+
createAccessProfileV2: function (requestParameters, axiosOptions) {
|
|
1912
|
+
return localVarFp.createAccessProfileV2(requestParameters.accessprofilev2, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1913
|
+
},
|
|
1146
1914
|
/**
|
|
1147
1915
|
* This API deletes an existing Access Profile. The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A user with SOURCE_SUBADMIN must be able to administer the Source associated with the Access Profile.
|
|
1148
1916
|
* @summary Delete the specified access profile
|
|
@@ -1153,6 +1921,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1153
1921
|
deleteAccessProfileV1: function (requestParameters, axiosOptions) {
|
|
1154
1922
|
return localVarFp.deleteAccessProfileV1(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1155
1923
|
},
|
|
1924
|
+
/**
|
|
1925
|
+
* This API deletes an existing Access Profile. This version behaves identically to [Delete the Specified Access Profile V1](https://developer.sailpoint.com/docs/api/delete-access-profile-v-1). The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A user with SOURCE_SUBADMIN must be able to administer the Source associated with the Access Profile.
|
|
1926
|
+
* @summary Delete the specified access profile
|
|
1927
|
+
* @param {AccessProfilesApiDeleteAccessProfileV2Request} requestParameters Request parameters.
|
|
1928
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1929
|
+
* @throws {RequiredError}
|
|
1930
|
+
*/
|
|
1931
|
+
deleteAccessProfileV2: function (requestParameters, axiosOptions) {
|
|
1932
|
+
return localVarFp.deleteAccessProfileV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1933
|
+
},
|
|
1156
1934
|
/**
|
|
1157
1935
|
* This endpoint initiates a bulk deletion of one or more access profiles. When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/get-task-status-v-1), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they\'re able to administer.
|
|
1158
1936
|
* @summary Delete access profile(s)
|
|
@@ -1163,6 +1941,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1163
1941
|
deleteAccessProfilesInBulkV1: function (requestParameters, axiosOptions) {
|
|
1164
1942
|
return localVarFp.deleteAccessProfilesInBulkV1(requestParameters.accessProfileBulkDeleteRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1165
1943
|
},
|
|
1944
|
+
/**
|
|
1945
|
+
* This endpoint initiates a bulk deletion of one or more access profiles. This version behaves identically to [Delete Access Profile(s) V1](https://developer.sailpoint.com/docs/api/delete-access-profiles-in-bulk-v-1). When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/get-task-status-v-1), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they\'re able to administer.
|
|
1946
|
+
* @summary Delete access profile(s)
|
|
1947
|
+
* @param {AccessProfilesApiDeleteAccessProfilesInBulkV2Request} requestParameters Request parameters.
|
|
1948
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1949
|
+
* @throws {RequiredError}
|
|
1950
|
+
*/
|
|
1951
|
+
deleteAccessProfilesInBulkV2: function (requestParameters, axiosOptions) {
|
|
1952
|
+
return localVarFp.deleteAccessProfilesInBulkV2(requestParameters.accessProfileBulkDeleteRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1953
|
+
},
|
|
1166
1954
|
/**
|
|
1167
1955
|
* This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
|
|
1168
1956
|
* @summary Remove metadata from access profile
|
|
@@ -1183,6 +1971,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1183
1971
|
getAccessProfileEntitlementsV1: function (requestParameters, axiosOptions) {
|
|
1184
1972
|
return localVarFp.getAccessProfileEntitlementsV1(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1185
1973
|
},
|
|
1974
|
+
/**
|
|
1975
|
+
* Get a list of an access profile\'s entitlements. This version reads from Search Lite and returns a superset of the entitlement returned by [List Access Profile\'s Entitlements V1](https://developer.sailpoint.com/docs/api/get-access-profile-entitlements-v-1), adding the entitlement\'s `tags` and calculated `privilegeLevel`. It also supports opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header. A SOURCE_SUBADMIN user must have access to the source associated with the specified access profile.
|
|
1976
|
+
* @summary List access profile\'s entitlements
|
|
1977
|
+
* @param {AccessProfilesApiGetAccessProfileEntitlementsV2Request} requestParameters Request parameters.
|
|
1978
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1979
|
+
* @throws {RequiredError}
|
|
1980
|
+
*/
|
|
1981
|
+
getAccessProfileEntitlementsV2: function (requestParameters, axiosOptions) {
|
|
1982
|
+
return localVarFp.getAccessProfileEntitlementsV2(requestParameters.id, requestParameters.xSailPointExperimental, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.cursor, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1983
|
+
},
|
|
1186
1984
|
/**
|
|
1187
1985
|
* This API returns an Access Profile by its ID. The `accessRequestConfig.formDefinitionId` field associates an optional custom form with access profile access requests.
|
|
1188
1986
|
* @summary Get an access profile
|
|
@@ -1193,6 +1991,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1193
1991
|
getAccessProfileV1: function (requestParameters, axiosOptions) {
|
|
1194
1992
|
return localVarFp.getAccessProfileV1(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1195
1993
|
},
|
|
1994
|
+
/**
|
|
1995
|
+
* Get an access profile by its ID. This version reads from Search Lite and returns the same access profile shape as [Get Access Profile V1](https://developer.sailpoint.com/docs/api/get-access-profile-v-1), with the calculated `privilegeLevel` field added.
|
|
1996
|
+
* @summary Get an access profile
|
|
1997
|
+
* @param {AccessProfilesApiGetAccessProfileV2Request} requestParameters Request parameters.
|
|
1998
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1999
|
+
* @throws {RequiredError}
|
|
2000
|
+
*/
|
|
2001
|
+
getAccessProfileV2: function (requestParameters, axiosOptions) {
|
|
2002
|
+
return localVarFp.getAccessProfileV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
2003
|
+
},
|
|
1196
2004
|
/**
|
|
1197
2005
|
* Get a list of access profiles. >**Note:** When you filter for access profiles that have the \'+\' symbol in their names, the response is blank.
|
|
1198
2006
|
* @summary List access profiles
|
|
@@ -1204,6 +2012,17 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1204
2012
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1205
2013
|
return localVarFp.listAccessProfilesV1(requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1206
2014
|
},
|
|
2015
|
+
/**
|
|
2016
|
+
* Get a list of access profiles. This version reads from Search Lite and returns the same access profile shape as [List Access Profiles V1](https://developer.sailpoint.com/docs/api/list-access-profiles-v-1), with two additions: the calculated `privilegeLevel` field, and opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header. >**Note:** When you omit `sorters`, results are sorted by `created` ascending. For deterministic ordering across pages, always specify explicit sorters. When you use cursor pagination, include `id` in `sorters`; the service appends it automatically if you omit it. >**Note:** `offset` and `cursor` are mutually exclusive. Use `offset=0` along with a cursor value taken from a prior response\'s `X-Next-Cursor` header.
|
|
2017
|
+
* @summary List access profiles
|
|
2018
|
+
* @param {AccessProfilesApiListAccessProfilesV2Request} requestParameters Request parameters.
|
|
2019
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2020
|
+
* @throws {RequiredError}
|
|
2021
|
+
*/
|
|
2022
|
+
listAccessProfilesV2: function (requestParameters, axiosOptions) {
|
|
2023
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2024
|
+
return localVarFp.listAccessProfilesV2(requestParameters.xSailPointExperimental, requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, requestParameters.cursor, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
2025
|
+
},
|
|
1207
2026
|
/**
|
|
1208
2027
|
* This API updates an existing Access Profile. The following fields are patchable: **name** **description** **enabled** **owner** **additionalOwners** **requestable** **accessRequestConfig** **revokeRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example \"Replace Source\" in the examples dropdown. Set `accessRequestConfig.formDefinitionId` to associate an optional custom form with access profile access requests. A user with SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile\'s source.
|
|
1209
2028
|
* @summary Patch a specified access profile
|
|
@@ -1214,6 +2033,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1214
2033
|
patchAccessProfileV1: function (requestParameters, axiosOptions) {
|
|
1215
2034
|
return localVarFp.patchAccessProfileV1(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1216
2035
|
},
|
|
2036
|
+
/**
|
|
2037
|
+
* This API updates an existing Access Profile. This version patches the same fields as [Patch a Specified Access Profile V1](https://developer.sailpoint.com/docs/api/patch-access-profile-v-1). It returns the v2 access profile shape, which adds the read-only `privilegeLevel` field. The following fields are patchable: **name** **description** **enabled** **owner** **additionalOwners** **requestable** **accessRequestConfig** **revocationRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example \"Replace Source\" in the examples dropdown. A user with SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile\'s source. >**Note:** `privilegeLevel` is read-only and cannot be patched. Changing the access profile\'s entitlements recalculates it asynchronously, so the patch response may still show the previous value.
|
|
2038
|
+
* @summary Patch a specified access profile
|
|
2039
|
+
* @param {AccessProfilesApiPatchAccessProfileV2Request} requestParameters Request parameters.
|
|
2040
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2041
|
+
* @throws {RequiredError}
|
|
2042
|
+
*/
|
|
2043
|
+
patchAccessProfileV2: function (requestParameters, axiosOptions) {
|
|
2044
|
+
return localVarFp.patchAccessProfileV2(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
2045
|
+
},
|
|
1217
2046
|
/**
|
|
1218
2047
|
* Get a list of access profiles filtered by Access Model Metadata and by filter expression. Filtering is supported by filter expression, by metadata attribute key and values, or by both together.
|
|
1219
2048
|
* @summary Filter access profiles by metadata
|
|
@@ -1224,6 +2053,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1224
2053
|
searchAccessProfilesByFilterV1: function (requestParameters, axiosOptions) {
|
|
1225
2054
|
return localVarFp.searchAccessProfilesByFilterV1(requestParameters.accessProfileListFilterDTO, requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1226
2055
|
},
|
|
2056
|
+
/**
|
|
2057
|
+
* Get a list of access profiles, supplying the filter criteria and access model metadata key/values in the request body rather than as query parameters. Use this endpoint when you need to filter by access model metadata, or when your filter expression is too long to pass as a query parameter. Pagination, sorting, subadmin scoping, and segment scoping behave the same as [List Access Profiles V2](https://developer.sailpoint.com/docs/api/list-access-profiles-v-2), including opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header.
|
|
2058
|
+
* @summary List access profiles by filter
|
|
2059
|
+
* @param {AccessProfilesApiSearchAccessProfilesByFilterV2Request} requestParameters Request parameters.
|
|
2060
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2061
|
+
* @throws {RequiredError}
|
|
2062
|
+
*/
|
|
2063
|
+
searchAccessProfilesByFilterV2: function (requestParameters, axiosOptions) {
|
|
2064
|
+
return localVarFp.searchAccessProfilesByFilterV2(requestParameters.accessProfileListFilterV2, requestParameters.xSailPointExperimental, requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, requestParameters.cursor, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
2065
|
+
},
|
|
1227
2066
|
/**
|
|
1228
2067
|
* This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
|
|
1229
2068
|
* @summary Update access profile(s) requestable field.
|
|
@@ -1234,6 +2073,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
1234
2073
|
updateAccessProfilesInBulkV1: function (requestParameters, axiosOptions) {
|
|
1235
2074
|
return localVarFp.updateAccessProfilesInBulkV1(requestParameters.accessProfileBulkUpdateRequestInner, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1236
2075
|
},
|
|
2076
|
+
/**
|
|
2077
|
+
* This API initiates a bulk update of field requestable for one or more Access Profiles. This version behaves identically to [Update Access Profile(s) Requestable Field V1](https://developer.sailpoint.com/docs/api/update-access-profiles-in-bulk-v-1). > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
|
|
2078
|
+
* @summary Update access profile(s) requestable field.
|
|
2079
|
+
* @param {AccessProfilesApiUpdateAccessProfilesInBulkV2Request} requestParameters Request parameters.
|
|
2080
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2081
|
+
* @throws {RequiredError}
|
|
2082
|
+
*/
|
|
2083
|
+
updateAccessProfilesInBulkV2: function (requestParameters, axiosOptions) {
|
|
2084
|
+
return localVarFp.updateAccessProfilesInBulkV2(requestParameters.accessProfileBulkUpdateRequestInner, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
2085
|
+
},
|
|
1237
2086
|
/**
|
|
1238
2087
|
* This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
|
|
1239
2088
|
* @summary Bulk-update metadata by filter
|
|
@@ -1300,6 +2149,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
1300
2149
|
var _this = this;
|
|
1301
2150
|
return (0, exports.AccessProfilesApiFp)(this.configuration).createAccessProfileV1(requestParameters.accessProfile, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1302
2151
|
};
|
|
2152
|
+
/**
|
|
2153
|
+
* Create an access profile. This version accepts the same request body and applies the same validation as [Create Access Profile V1](https://developer.sailpoint.com/docs/api/create-access-profile-v-1). It returns the v2 access profile shape, which adds the read-only `privilegeLevel` field. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes. >**Note:** `privilegeLevel` is read-only and is ignored if supplied in the request body. It is calculated asynchronously from the access profile\'s entitlements, so it is typically absent from the create response.
|
|
2154
|
+
* @summary Create access profile
|
|
2155
|
+
* @param {AccessProfilesApiCreateAccessProfileV2Request} requestParameters Request parameters.
|
|
2156
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2157
|
+
* @throws {RequiredError}
|
|
2158
|
+
* @memberof AccessProfilesApi
|
|
2159
|
+
*/
|
|
2160
|
+
AccessProfilesApi.prototype.createAccessProfileV2 = function (requestParameters, axiosOptions) {
|
|
2161
|
+
var _this = this;
|
|
2162
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).createAccessProfileV2(requestParameters.accessprofilev2, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2163
|
+
};
|
|
1303
2164
|
/**
|
|
1304
2165
|
* This API deletes an existing Access Profile. The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A user with SOURCE_SUBADMIN must be able to administer the Source associated with the Access Profile.
|
|
1305
2166
|
* @summary Delete the specified access profile
|
|
@@ -1312,6 +2173,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
1312
2173
|
var _this = this;
|
|
1313
2174
|
return (0, exports.AccessProfilesApiFp)(this.configuration).deleteAccessProfileV1(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1314
2175
|
};
|
|
2176
|
+
/**
|
|
2177
|
+
* This API deletes an existing Access Profile. This version behaves identically to [Delete the Specified Access Profile V1](https://developer.sailpoint.com/docs/api/delete-access-profile-v-1). The Access Profile must not be in use, for example, Access Profile can not be deleted if they belong to an Application, Life Cycle State or a Role. If it is, a 400 error is returned. A user with SOURCE_SUBADMIN must be able to administer the Source associated with the Access Profile.
|
|
2178
|
+
* @summary Delete the specified access profile
|
|
2179
|
+
* @param {AccessProfilesApiDeleteAccessProfileV2Request} requestParameters Request parameters.
|
|
2180
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2181
|
+
* @throws {RequiredError}
|
|
2182
|
+
* @memberof AccessProfilesApi
|
|
2183
|
+
*/
|
|
2184
|
+
AccessProfilesApi.prototype.deleteAccessProfileV2 = function (requestParameters, axiosOptions) {
|
|
2185
|
+
var _this = this;
|
|
2186
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).deleteAccessProfileV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2187
|
+
};
|
|
1315
2188
|
/**
|
|
1316
2189
|
* This endpoint initiates a bulk deletion of one or more access profiles. When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/get-task-status-v-1), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they\'re able to administer.
|
|
1317
2190
|
* @summary Delete access profile(s)
|
|
@@ -1324,6 +2197,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
1324
2197
|
var _this = this;
|
|
1325
2198
|
return (0, exports.AccessProfilesApiFp)(this.configuration).deleteAccessProfilesInBulkV1(requestParameters.accessProfileBulkDeleteRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1326
2199
|
};
|
|
2200
|
+
/**
|
|
2201
|
+
* This endpoint initiates a bulk deletion of one or more access profiles. This version behaves identically to [Delete Access Profile(s) V1](https://developer.sailpoint.com/docs/api/delete-access-profiles-in-bulk-v-1). When the request is successful, the endpoint returns the bulk delete\'s task result ID. To follow the task, you can use [Get Task Status by ID](https://developer.sailpoint.com/docs/api/get-task-status-v-1), which will return the task result\'s status and information. This endpoint can only bulk delete up to a limit of 50 access profiles per request. By default, if any of the indicated access profiles are in use, no deletions will be performed and the **inUse** field of the response indicates the usages that must be removed first. If the request field **bestEffortOnly** is **true**, however, usages are reported in the **inUse** response field but all other indicated access profiles will be deleted. A SOURCE_SUBADMIN user can only use this endpoint to delete access profiles associated with sources they\'re able to administer.
|
|
2202
|
+
* @summary Delete access profile(s)
|
|
2203
|
+
* @param {AccessProfilesApiDeleteAccessProfilesInBulkV2Request} requestParameters Request parameters.
|
|
2204
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2205
|
+
* @throws {RequiredError}
|
|
2206
|
+
* @memberof AccessProfilesApi
|
|
2207
|
+
*/
|
|
2208
|
+
AccessProfilesApi.prototype.deleteAccessProfilesInBulkV2 = function (requestParameters, axiosOptions) {
|
|
2209
|
+
var _this = this;
|
|
2210
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).deleteAccessProfilesInBulkV2(requestParameters.accessProfileBulkDeleteRequest, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2211
|
+
};
|
|
1327
2212
|
/**
|
|
1328
2213
|
* This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
|
|
1329
2214
|
* @summary Remove metadata from access profile
|
|
@@ -1348,6 +2233,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
1348
2233
|
var _this = this;
|
|
1349
2234
|
return (0, exports.AccessProfilesApiFp)(this.configuration).getAccessProfileEntitlementsV1(requestParameters.id, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1350
2235
|
};
|
|
2236
|
+
/**
|
|
2237
|
+
* Get a list of an access profile\'s entitlements. This version reads from Search Lite and returns a superset of the entitlement returned by [List Access Profile\'s Entitlements V1](https://developer.sailpoint.com/docs/api/get-access-profile-entitlements-v-1), adding the entitlement\'s `tags` and calculated `privilegeLevel`. It also supports opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header. A SOURCE_SUBADMIN user must have access to the source associated with the specified access profile.
|
|
2238
|
+
* @summary List access profile\'s entitlements
|
|
2239
|
+
* @param {AccessProfilesApiGetAccessProfileEntitlementsV2Request} requestParameters Request parameters.
|
|
2240
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2241
|
+
* @throws {RequiredError}
|
|
2242
|
+
* @memberof AccessProfilesApi
|
|
2243
|
+
*/
|
|
2244
|
+
AccessProfilesApi.prototype.getAccessProfileEntitlementsV2 = function (requestParameters, axiosOptions) {
|
|
2245
|
+
var _this = this;
|
|
2246
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).getAccessProfileEntitlementsV2(requestParameters.id, requestParameters.xSailPointExperimental, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.cursor, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2247
|
+
};
|
|
1351
2248
|
/**
|
|
1352
2249
|
* This API returns an Access Profile by its ID. The `accessRequestConfig.formDefinitionId` field associates an optional custom form with access profile access requests.
|
|
1353
2250
|
* @summary Get an access profile
|
|
@@ -1360,6 +2257,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
1360
2257
|
var _this = this;
|
|
1361
2258
|
return (0, exports.AccessProfilesApiFp)(this.configuration).getAccessProfileV1(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1362
2259
|
};
|
|
2260
|
+
/**
|
|
2261
|
+
* Get an access profile by its ID. This version reads from Search Lite and returns the same access profile shape as [Get Access Profile V1](https://developer.sailpoint.com/docs/api/get-access-profile-v-1), with the calculated `privilegeLevel` field added.
|
|
2262
|
+
* @summary Get an access profile
|
|
2263
|
+
* @param {AccessProfilesApiGetAccessProfileV2Request} requestParameters Request parameters.
|
|
2264
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2265
|
+
* @throws {RequiredError}
|
|
2266
|
+
* @memberof AccessProfilesApi
|
|
2267
|
+
*/
|
|
2268
|
+
AccessProfilesApi.prototype.getAccessProfileV2 = function (requestParameters, axiosOptions) {
|
|
2269
|
+
var _this = this;
|
|
2270
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).getAccessProfileV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2271
|
+
};
|
|
1363
2272
|
/**
|
|
1364
2273
|
* Get a list of access profiles. >**Note:** When you filter for access profiles that have the \'+\' symbol in their names, the response is blank.
|
|
1365
2274
|
* @summary List access profiles
|
|
@@ -1373,6 +2282,19 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
1373
2282
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1374
2283
|
return (0, exports.AccessProfilesApiFp)(this.configuration).listAccessProfilesV1(requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1375
2284
|
};
|
|
2285
|
+
/**
|
|
2286
|
+
* Get a list of access profiles. This version reads from Search Lite and returns the same access profile shape as [List Access Profiles V1](https://developer.sailpoint.com/docs/api/list-access-profiles-v-1), with two additions: the calculated `privilegeLevel` field, and opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header. >**Note:** When you omit `sorters`, results are sorted by `created` ascending. For deterministic ordering across pages, always specify explicit sorters. When you use cursor pagination, include `id` in `sorters`; the service appends it automatically if you omit it. >**Note:** `offset` and `cursor` are mutually exclusive. Use `offset=0` along with a cursor value taken from a prior response\'s `X-Next-Cursor` header.
|
|
2287
|
+
* @summary List access profiles
|
|
2288
|
+
* @param {AccessProfilesApiListAccessProfilesV2Request} requestParameters Request parameters.
|
|
2289
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2290
|
+
* @throws {RequiredError}
|
|
2291
|
+
* @memberof AccessProfilesApi
|
|
2292
|
+
*/
|
|
2293
|
+
AccessProfilesApi.prototype.listAccessProfilesV2 = function (requestParameters, axiosOptions) {
|
|
2294
|
+
var _this = this;
|
|
2295
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
2296
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).listAccessProfilesV2(requestParameters.xSailPointExperimental, requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, requestParameters.cursor, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2297
|
+
};
|
|
1376
2298
|
/**
|
|
1377
2299
|
* This API updates an existing Access Profile. The following fields are patchable: **name** **description** **enabled** **owner** **additionalOwners** **requestable** **accessRequestConfig** **revokeRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example \"Replace Source\" in the examples dropdown. Set `accessRequestConfig.formDefinitionId` to associate an optional custom form with access profile access requests. A user with SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile\'s source.
|
|
1378
2300
|
* @summary Patch a specified access profile
|
|
@@ -1385,6 +2307,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
1385
2307
|
var _this = this;
|
|
1386
2308
|
return (0, exports.AccessProfilesApiFp)(this.configuration).patchAccessProfileV1(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1387
2309
|
};
|
|
2310
|
+
/**
|
|
2311
|
+
* This API updates an existing Access Profile. This version patches the same fields as [Patch a Specified Access Profile V1](https://developer.sailpoint.com/docs/api/patch-access-profile-v-1). It returns the v2 access profile shape, which adds the read-only `privilegeLevel` field. The following fields are patchable: **name** **description** **enabled** **owner** **additionalOwners** **requestable** **accessRequestConfig** **revocationRequestConfig** **segments** **entitlements** **provisioningCriteria** **source** (must be updated with entitlements belonging to new source in the same API call) If you need to change the `source` of the access profile, you can do so only if you update the `entitlements` in the same API call. The new entitlements can only come from the target source that you want to change to. Look for the example \"Replace Source\" in the examples dropdown. A user with SOURCE_SUBADMIN may only use this API to patch Access Profiles which are associated with Sources they are able to administer. > The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles, however, any new access profiles as well as any updates to existing descriptions will be limited to 2000 characters. > You can only add or replace **entitlements** that exist on the source that the access profile is attached to. You can use the **list entitlements** endpoint with the **filters** query parameter to get a list of available entitlements on the access profile\'s source. >**Note:** `privilegeLevel` is read-only and cannot be patched. Changing the access profile\'s entitlements recalculates it asynchronously, so the patch response may still show the previous value.
|
|
2312
|
+
* @summary Patch a specified access profile
|
|
2313
|
+
* @param {AccessProfilesApiPatchAccessProfileV2Request} requestParameters Request parameters.
|
|
2314
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2315
|
+
* @throws {RequiredError}
|
|
2316
|
+
* @memberof AccessProfilesApi
|
|
2317
|
+
*/
|
|
2318
|
+
AccessProfilesApi.prototype.patchAccessProfileV2 = function (requestParameters, axiosOptions) {
|
|
2319
|
+
var _this = this;
|
|
2320
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).patchAccessProfileV2(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2321
|
+
};
|
|
1388
2322
|
/**
|
|
1389
2323
|
* Get a list of access profiles filtered by Access Model Metadata and by filter expression. Filtering is supported by filter expression, by metadata attribute key and values, or by both together.
|
|
1390
2324
|
* @summary Filter access profiles by metadata
|
|
@@ -1397,6 +2331,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
1397
2331
|
var _this = this;
|
|
1398
2332
|
return (0, exports.AccessProfilesApiFp)(this.configuration).searchAccessProfilesByFilterV1(requestParameters.accessProfileListFilterDTO, requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1399
2333
|
};
|
|
2334
|
+
/**
|
|
2335
|
+
* Get a list of access profiles, supplying the filter criteria and access model metadata key/values in the request body rather than as query parameters. Use this endpoint when you need to filter by access model metadata, or when your filter expression is too long to pass as a query parameter. Pagination, sorting, subadmin scoping, and segment scoping behave the same as [List Access Profiles V2](https://developer.sailpoint.com/docs/api/list-access-profiles-v-2), including opaque cursor pagination through the `cursor` parameter and `X-Next-Cursor` response header.
|
|
2336
|
+
* @summary List access profiles by filter
|
|
2337
|
+
* @param {AccessProfilesApiSearchAccessProfilesByFilterV2Request} requestParameters Request parameters.
|
|
2338
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2339
|
+
* @throws {RequiredError}
|
|
2340
|
+
* @memberof AccessProfilesApi
|
|
2341
|
+
*/
|
|
2342
|
+
AccessProfilesApi.prototype.searchAccessProfilesByFilterV2 = function (requestParameters, axiosOptions) {
|
|
2343
|
+
var _this = this;
|
|
2344
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).searchAccessProfilesByFilterV2(requestParameters.accessProfileListFilterV2, requestParameters.xSailPointExperimental, requestParameters.forSubadmin, requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.forSegmentIds, requestParameters.includeUnsegmented, requestParameters.cursor, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2345
|
+
};
|
|
1400
2346
|
/**
|
|
1401
2347
|
* This API initiates a bulk update of field requestable for one or more Access Profiles. > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
|
|
1402
2348
|
* @summary Update access profile(s) requestable field.
|
|
@@ -1409,6 +2355,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
1409
2355
|
var _this = this;
|
|
1410
2356
|
return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesInBulkV1(requestParameters.accessProfileBulkUpdateRequestInner, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1411
2357
|
};
|
|
2358
|
+
/**
|
|
2359
|
+
* This API initiates a bulk update of field requestable for one or more Access Profiles. This version behaves identically to [Update Access Profile(s) Requestable Field V1](https://developer.sailpoint.com/docs/api/update-access-profiles-in-bulk-v-1). > If any of the indicated Access Profiles is exists in Organization,then those Access Profiles will be added in **updated** list of the response.Requestable field of these Access Profiles marked as **true** or **false**. > If any of the indicated Access Profiles is not does not exists in Organization,then those Access Profiles will be added in **notFound** list of the response. Access Profiles marked as **notFound** will not be updated. A SOURCE_SUBADMIN may only use this API to update Access Profiles which are associated with Sources they are able to administer.
|
|
2360
|
+
* @summary Update access profile(s) requestable field.
|
|
2361
|
+
* @param {AccessProfilesApiUpdateAccessProfilesInBulkV2Request} requestParameters Request parameters.
|
|
2362
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2363
|
+
* @throws {RequiredError}
|
|
2364
|
+
* @memberof AccessProfilesApi
|
|
2365
|
+
*/
|
|
2366
|
+
AccessProfilesApi.prototype.updateAccessProfilesInBulkV2 = function (requestParameters, axiosOptions) {
|
|
2367
|
+
var _this = this;
|
|
2368
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesInBulkV2(requestParameters.accessProfileBulkUpdateRequestInner, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2369
|
+
};
|
|
1412
2370
|
/**
|
|
1413
2371
|
* This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
|
|
1414
2372
|
* @summary Bulk-update metadata by filter
|