Use this API to implement non-employee lifecycle management functionality.
With this functionality in place, administrators can create non-employee records and configure them for use in their organizations.
This allows organizations to provide secure access to non-employees and control that access.
The 'non-employee' term refers to any consultant, contractor, intern, or other user in an organization who is not a full-time permanent employee.
Organizations can track non-employees' access and activity in Identity Security Cloud by creating and maintaining non-employee sources.
Organizations can have a maximum of 50 non-employee sources.
By using SailPoint's Non-Employee Lifecycle Management functionality, you agree to the following:
SailPoint is not responsible for storing sensitive data.
You may only add account attributes to non-employee identities that are necessary for business operations and are consistent with your contractual limitations on data that may be sent or stored in Identity Security Cloud.
You are responsible for regularly downloading your list of non-employee accounts for all the sources you create and storing this list of accounts in a managed location to maintain an authoritative system of record and backup data for these accounts.
To manage non-employees in Identity Security Cloud, administrators must create a non-employee source and add accounts to the source.
To create a non-employee source in Identity Security Cloud, administrators must use the Admin panel to go to Connections > Sources.
They must then specify 'Non-Employee' in the 'Source Type' field.
Refer to Creating a Non-Employee Source for more details about how to create non-employee sources.
To add accounts to a non-employee source in Identity Security Cloud, administrators can select the non-employee source and add the accounts.
They can also use the 'Manage Non-Employees' widget on their user dashboards to reach the list of sources and then select the non-employee source they want to add the accounts to.
Administrators can either add accounts individually or in bulk. Each non-employee source can have a maximum of 20,000 accounts.
To add accounts in bulk, they must select the 'Bulk Upload' option and upload a CSV file.
Refer to Adding Accounts for more details about how to add accounts to non-employee sources.
Once administrators have created the non-employee source and added accounts to it, they can create identity profiles to generate identities for the non-employee accounts and manage the non-employee identities the same way they would any other identities.
Approve a Non-Employee Request
Approves a non-employee approval request and notifies the next approver. The current user must be the requested approver.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_approval_decisionimportNonEmployeeApprovalDecisionfromsailpoint.v3.models.non_employee_approval_itemimportNonEmployeeApprovalItemfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='e136567de87e4d029e60b3c3c55db56d'# str | Non-Employee approval item id (UUID) # str | Non-Employee approval item id (UUID)non_employee_approval_decision={"comment":"Approved by manager"}# NonEmployeeApprovalDecision | try:# Approve a Non-Employee RequestResult=non_employee_approval_decision.from_json(non_employee_approval_decision)api_response=api_instance.approve_non_employee_request(id,Result)# Below is a request that includes all optional parameters# api_response = api_instance.approve_non_employee_request(id, Result)print("The response of NonEmployeeLifecycleManagementApi->approve_non_employee_request:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->approve_non_employee_request: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_recordimportNonEmployeeRecordfromsailpoint.v3.models.non_employee_request_bodyimportNonEmployeeRequestBodyfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintnon_employee_request_body={"sourceId":"2c91808568c529c60168cca6f90c1313","firstName":"William","lastName":"Smith","manager":"jane.doe","data":{"description":"Auditing"},"accountName":"william.smith","phone":"5125555555","endDate":"2021-03-25T00:00:00-05:00","email":"william.smith@example.com","startDate":"2020-03-24T00:00:00-05:00"}# NonEmployeeRequestBody | Non-Employee record creation request body.try:# Create Non-Employee RecordResult=non_employee_request_body.from_json(non_employee_request_body)api_response=api_instance.create_non_employee_record(Result)# Below is a request that includes all optional parameters# api_response = api_instance.create_non_employee_record(Result)print("The response of NonEmployeeLifecycleManagementApi->create_non_employee_record:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->create_non_employee_record: %s\n"%e)
Create Non-Employee Request
This request will create a non-employee request and notify the approver. Requires role context of idn:nesr:create or the user must own the source.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_requestimportNonEmployeeRequestfromsailpoint.v3.models.non_employee_request_bodyimportNonEmployeeRequestBodyfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintnon_employee_request_body={"sourceId":"2c91808568c529c60168cca6f90c1313","firstName":"William","lastName":"Smith","manager":"jane.doe","data":{"description":"Auditing"},"accountName":"william.smith","phone":"5125555555","endDate":"2021-03-25T00:00:00-05:00","email":"william.smith@example.com","startDate":"2020-03-24T00:00:00-05:00"}# NonEmployeeRequestBody | Non-Employee creation request bodytry:# Create Non-Employee RequestResult=non_employee_request_body.from_json(non_employee_request_body)api_response=api_instance.create_non_employee_request(Result)# Below is a request that includes all optional parameters# api_response = api_instance.create_non_employee_request(Result)print("The response of NonEmployeeLifecycleManagementApi->create_non_employee_request:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->create_non_employee_request: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_source_request_bodyimportNonEmployeeSourceRequestBodyfromsailpoint.v3.models.non_employee_source_with_cloud_external_idimportNonEmployeeSourceWithCloudExternalIdfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintnon_employee_source_request_body={"owner":{"id":"2c91808570313110017040b06f344ec9"},"managementWorkgroup":"123299","accountManagers":[{"id":"2c91808570313110017040b06f344ec9"},{"id":"2c91808570313110017040b06f344ec9"},{"id":"2c91808570313110017040b06f344ec9"},{"id":"2c91808570313110017040b06f344ec9"},{"id":"2c91808570313110017040b06f344ec9"}],"name":"Retail","description":"Source description","approvers":[{"id":"2c91808570313110017040b06f344ec9"},{"id":"2c91808570313110017040b06f344ec9"},{"id":"2c91808570313110017040b06f344ec9"}]}# NonEmployeeSourceRequestBody | Non-Employee source creation request body.try:# Create Non-Employee SourceResult=non_employee_source_request_body.from_json(non_employee_source_request_body)api_response=api_instance.create_non_employee_source(Result)# Below is a request that includes all optional parameters# api_response = api_instance.create_non_employee_source(Result)print("The response of NonEmployeeLifecycleManagementApi->create_non_employee_source:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->create_non_employee_source: %s\n"%e)
Create a new Schema Attribute for Non-Employee Source
This API creates a new schema attribute for Non-Employee Source. The schema technical name must be unique in the source. Attempts to create a schema attribute with an existing name will result in a "400.1.409 Reference conflict" response. At most, 10 custom attributes can be created per schema. Attempts to create more than 10 will result in a "400.1.4 Limit violation" response.
Requires role context of idn:nesr:create
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_schema_attributeimportNonEmployeeSchemaAttributefromsailpoint.v3.models.non_employee_schema_attribute_bodyimportNonEmployeeSchemaAttributeBodyfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintsource_id='ef38f94347e94562b5bb8424a56397d8'# str | The Source id # str | The Source idnon_employee_schema_attribute_body={"helpText":"The unique identifier for the account","label":"Account Name","placeholder":"Enter a unique user name for this account.","type":"TEXT","technicalName":"account.name","required":true}# NonEmployeeSchemaAttributeBody | try:# Create a new Schema Attribute for Non-Employee SourceResult=non_employee_schema_attribute_body.from_json(non_employee_schema_attribute_body)api_response=api_instance.create_non_employee_source_schema_attributes(source_id,Result)# Below is a request that includes all optional parameters# api_response = api_instance.create_non_employee_source_schema_attributes(source_id, Result)print("The response of NonEmployeeLifecycleManagementApi->create_non_employee_source_schema_attributes:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->create_non_employee_source_schema_attributes: %s\n"%e)
No content - indicates the request was successful but there is no content to be returned in the response.
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='ef38f94347e94562b5bb8424a56397d8'# str | Non-Employee record id (UUID) # str | Non-Employee record id (UUID)try:# Delete Non-Employee Recordapi_instance.delete_non_employee_record(id)# Below is a request that includes all optional parameters# api_instance.delete_non_employee_record(id)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_record: %s\n"%e)
Delete Multiple Non-Employee Records
This request will delete multiple non-employee records based on the non-employee ids provided. Requires role context of idn:nesr:delete
No content - indicates the request was successful but there is no content to be returned in the response.
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.delete_non_employee_records_in_bulk_requestimportDeleteNonEmployeeRecordsInBulkRequestfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintdelete_non_employee_records_in_bulk_request=sailpoint.v3.DeleteNonEmployeeRecordsInBulkRequest()# DeleteNonEmployeeRecordsInBulkRequest | Non-Employee bulk delete request body.try:# Delete Multiple Non-Employee RecordsResult=delete_non_employee_records_in_bulk_request.from_json(delete_non_employee_records_in_bulk_request)api_instance.delete_non_employee_records_in_bulk(Result)# Below is a request that includes all optional parameters# api_instance.delete_non_employee_records_in_bulk(Result)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_records_in_bulk: %s\n"%e)
No content - indicates the request was successful but there is no content to be returned in the response.
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='ac110005-7156-1150-8171-5b292e3e0084'# str | Non-Employee request id in the UUID format # str | Non-Employee request id in the UUID formattry:# Delete Non-Employee Requestapi_instance.delete_non_employee_request(id)# Below is a request that includes all optional parameters# api_instance.delete_non_employee_request(id)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_request: %s\n"%e)
Delete a Schema Attribute for Non-Employee Source
This end-point deletes a specific schema attribute for a non-employee source.
Requires role context of idn:nesr:delete
No content - indicates the request was successful but there is no content to be returned in the response.
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.restimportApiExceptionfrompprintimportpprintattribute_id='ef38f94347e94562b5bb8424a56397d8'# str | The Schema Attribute Id (UUID) # str | The Schema Attribute Id (UUID)source_id='ef38f94347e94562b5bb8424a56397d8'# str | The Source id # str | The Source idtry:# Delete a Schema Attribute for Non-Employee Sourceapi_instance.delete_non_employee_schema_attribute(attribute_id,source_id)# Below is a request that includes all optional parameters# api_instance.delete_non_employee_schema_attribute(attribute_id, source_id)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_schema_attribute: %s\n"%e)
No content - indicates the request was successful but there is no content to be returned in the response.
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.restimportApiExceptionfrompprintimportpprintsource_id='e136567de87e4d029e60b3c3c55db56d'# str | Source Id # str | Source Idtry:# Delete Non-Employee Sourceapi_instance.delete_non_employee_source(source_id)# Below is a request that includes all optional parameters# api_instance.delete_non_employee_source(source_id)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_source: %s\n"%e)
Delete all custom schema attributes for Non-Employee Source
This end-point deletes all custom schema attributes for a non-employee source. Requires role context of idn:nesr:delete
No content - indicates the request was successful but there is no content to be returned in the response.
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.restimportApiExceptionfrompprintimportpprintsource_id='ef38f94347e94562b5bb8424a56397d8'# str | The Source id # str | The Source idtry:# Delete all custom schema attributes for Non-Employee Sourceapi_instance.delete_non_employee_source_schema_attributes(source_id)# Below is a request that includes all optional parameters# api_instance.delete_non_employee_source_schema_attributes(source_id)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->delete_non_employee_source_schema_attributes: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: text/csv, application/json
Example
importsailpoint.v3fromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='e136567de87e4d029e60b3c3c55db56d'# str | Source Id (UUID) # str | Source Id (UUID)try:# Exports Non-Employee Records to CSVapi_instance.export_non_employee_records(id)# Below is a request that includes all optional parameters# api_instance.export_non_employee_records(id)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->export_non_employee_records: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: text/csv, application/json
Example
importsailpoint.v3fromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='ef38f94347e94562b5bb8424a56397d8'# str | Source Id (UUID) # str | Source Id (UUID)try:# Exports Source Schema Templateapi_instance.export_non_employee_source_schema_template(id)# Below is a request that includes all optional parameters# api_instance.export_non_employee_source_schema_template(id)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->export_non_employee_source_schema_template: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_approval_item_detailimportNonEmployeeApprovalItemDetailfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='e136567de87e4d029e60b3c3c55db56d'# str | Non-Employee approval item id (UUID) # str | Non-Employee approval item id (UUID)include_detail=true# bool | The object nonEmployeeRequest will not be included detail when set to false. *Default value is true* (optional) # bool | The object nonEmployeeRequest will not be included detail when set to false. *Default value is true* (optional)try:# Get a non-employee approval item detailapi_response=api_instance.get_non_employee_approval(id,)# Below is a request that includes all optional parameters# api_response = api_instance.get_non_employee_approval(id, include_detail)print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_approval:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_approval: %s\n"%e)
Get Summary of Non-Employee Approval Requests
This request will retrieve a summary of non-employee approval requests. There are two contextual uses for the requested-for path parameter:
The user has the role context of idn:nesr:read, in which case he or
she may request a summary of all non-employee approval requests assigned to a particular approver by passing in that approver's id.
The current user is an approver, in which case "me" should be provided
as the requested-for value. This will provide the approver with a summary of the approval items assigned to him or her.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_approval_summaryimportNonEmployeeApprovalSummaryfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintrequested_for='2c91808280430dfb0180431a59440460'# str | The identity (UUID) of the approver for whom for whom the summary is being retrieved. Use \"me\" instead to indicate the current user. # str | The identity (UUID) of the approver for whom for whom the summary is being retrieved. Use \"me\" instead to indicate the current user.try:# Get Summary of Non-Employee Approval Requestsapi_response=api_instance.get_non_employee_approval_summary(requested_for)# Below is a request that includes all optional parameters# api_response = api_instance.get_non_employee_approval_summary(requested_for)print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_approval_summary:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_approval_summary: %s\n"%e)
Obtain the status of bulk upload on the source
The nonEmployeeBulkUploadStatus API returns the status of the newest bulk upload job for the specified source.
Requires role context of idn:nesr:read
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_bulk_upload_statusimportNonEmployeeBulkUploadStatusfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='e136567de87e4d029e60b3c3c55db56d'# str | Source ID (UUID) # str | Source ID (UUID)try:# Obtain the status of bulk upload on the sourceapi_response=api_instance.get_non_employee_bulk_upload_status(id)# Below is a request that includes all optional parameters# api_response = api_instance.get_non_employee_bulk_upload_status(id)print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_bulk_upload_status:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_bulk_upload_status: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_recordimportNonEmployeeRecordfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='ef38f94347e94562b5bb8424a56397d8'# str | Non-Employee record id (UUID) # str | Non-Employee record id (UUID)try:# Get a Non-Employee Recordapi_response=api_instance.get_non_employee_record(id)# Below is a request that includes all optional parameters# api_response = api_instance.get_non_employee_record(id)print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_record:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_record: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_requestimportNonEmployeeRequestfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='ac110005-7156-1150-8171-5b292e3e0084'# str | Non-Employee request id (UUID) # str | Non-Employee request id (UUID)try:# Get a Non-Employee Requestapi_response=api_instance.get_non_employee_request(id)# Below is a request that includes all optional parameters# api_response = api_instance.get_non_employee_request(id)print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_request:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_request: %s\n"%e)
Get Summary of Non-Employee Requests
This request will retrieve a summary of non-employee requests. There are two contextual uses for the requested-for path parameter:
The user has the role context of idn:nesr:read, in which case he or
she may request a summary of all non-employee approval requests assigned to a particular account manager by passing in that manager's id.
The current user is an account manager, in which case "me" should be
provided as the requested-for value. This will provide the user with a summary of the non-employee requests in the source(s) he or she manages.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_request_summaryimportNonEmployeeRequestSummaryfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintrequested_for='2c91808280430dfb0180431a59440460'# str | The identity (UUID) of the non-employee account manager for whom the summary is being retrieved. Use \"me\" instead to indicate the current user. # str | The identity (UUID) of the non-employee account manager for whom the summary is being retrieved. Use \"me\" instead to indicate the current user.try:# Get Summary of Non-Employee Requestsapi_response=api_instance.get_non_employee_request_summary(requested_for)# Below is a request that includes all optional parameters# api_response = api_instance.get_non_employee_request_summary(requested_for)print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_request_summary:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_request_summary: %s\n"%e)
Get Schema Attribute Non-Employee Source
This API gets a schema attribute by Id for the specified Non-Employee SourceId. Requires role context of idn:nesr:read or the user must be an account manager of the source.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_schema_attributeimportNonEmployeeSchemaAttributefromsailpoint.v3.restimportApiExceptionfrompprintimportpprintattribute_id='ef38f94347e94562b5bb8424a56397d8'# str | The Schema Attribute Id (UUID) # str | The Schema Attribute Id (UUID)source_id='ef38f94347e94562b5bb8424a56397d8'# str | The Source id # str | The Source idtry:# Get Schema Attribute Non-Employee Sourceapi_response=api_instance.get_non_employee_schema_attribute(attribute_id,source_id)# Below is a request that includes all optional parameters# api_response = api_instance.get_non_employee_schema_attribute(attribute_id, source_id)print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_schema_attribute:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_schema_attribute: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_sourceimportNonEmployeeSourcefromsailpoint.v3.restimportApiExceptionfrompprintimportpprintsource_id='2c91808b7c28b350017c2a2ec5790aa1'# str | Source Id # str | Source Idtry:# Get a Non-Employee Sourceapi_response=api_instance.get_non_employee_source(source_id)# Below is a request that includes all optional parameters# api_response = api_instance.get_non_employee_source(source_id)print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_source:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_source: %s\n"%e)
List Schema Attributes Non-Employee Source
This API gets the list of schema attributes for the specified Non-Employee SourceId. There are 8 mandatory attributes added to each new Non-Employee Source automatically. Additionaly, user can add up to 10 custom attributes. This interface returns all the mandatory attributes followed by any custom attributes. At most, a total of 18 attributes will be returned.
Requires role context of idn:nesr:read or the user must be an account manager of the source.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_schema_attributeimportNonEmployeeSchemaAttributefromsailpoint.v3.restimportApiExceptionfrompprintimportpprintsource_id='ef38f94347e94562b5bb8424a56397d8'# str | The Source id # str | The Source idtry:# List Schema Attributes Non-Employee Sourceapi_response=api_instance.get_non_employee_source_schema_attributes(source_id)# Below is a request that includes all optional parameters# api_response = api_instance.get_non_employee_source_schema_attributes(source_id)print("The response of NonEmployeeLifecycleManagementApi->get_non_employee_source_schema_attributes:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->get_non_employee_source_schema_attributes: %s\n"%e)
Imports, or Updates, Non-Employee Records
This post will import, or update, Non-Employee records found in the CSV. Requires role context of idn:nesr:create
The CSV was accepted to be bulk inserted now or at a later time.
NonEmployeeBulkUploadJob
-
400
Client Error - Returned if the request body is invalid. The response body will contain the list of specific errors with one on each line.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: multipart/form-data
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_bulk_upload_jobimportNonEmployeeBulkUploadJobfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='e136567de87e4d029e60b3c3c55db56d'# str | Source Id (UUID) # str | Source Id (UUID)data=None# bytearray | # bytearray | try:# Imports, or Updates, Non-Employee Recordsapi_response=api_instance.import_non_employee_records_in_bulk(id,data)# Below is a request that includes all optional parameters# api_response = api_instance.import_non_employee_records_in_bulk(id, data)print("The response of NonEmployeeLifecycleManagementApi->import_non_employee_records_in_bulk:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->import_non_employee_records_in_bulk: %s\n"%e)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Query
count
bool
(optional) (default to False)
If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. See V3 API Standard Collection Parameters for more information.
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: approvalStatus: eq
Query
sorters
str
(optional)
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: created, modified
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_approval_itemimportNonEmployeeApprovalItemfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintrequested_for='2c91808280430dfb0180431a59440460'# str | The identity for whom the request was made. *me* indicates the current user. (optional) # str | The identity for whom the request was made. *me* indicates the current user. (optional)limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)filters='approvalStatus eq \"Pending\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **approvalStatus**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **approvalStatus**: *eq* (optional)sorters='created'# str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified** (optional)try:# Get List of Non-Employee Approval Requestsapi_response=api_instance.list_non_employee_approvals()# Below is a request that includes all optional parameters# api_response = api_instance.list_non_employee_approvals(requested_for, limit, offset, count, filters, sorters)print("The response of NonEmployeeLifecycleManagementApi->list_non_employee_approvals:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->list_non_employee_approvals: %s\n"%e)
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Query
count
bool
(optional) (default to False)
If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. See V3 API Standard Collection Parameters for more information.
Query
sorters
str
(optional)
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: id, accountName, sourceId, manager, firstName, lastName, email, phone, startDate, endDate, created, modified
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: sourceId: eq
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_recordimportNonEmployeeRecordfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintlimit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)sorters='accountName,sourceId'# str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, accountName, sourceId, manager, firstName, lastName, email, phone, startDate, endDate, created, modified** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **id, accountName, sourceId, manager, firstName, lastName, email, phone, startDate, endDate, created, modified** (optional)filters='sourceId eq \"2c91808568c529c60168cca6f90c1313\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **sourceId**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **sourceId**: *eq* (optional)try:# List Non-Employee Recordsapi_response=api_instance.list_non_employee_records()# Below is a request that includes all optional parameters# api_response = api_instance.list_non_employee_records(limit, offset, count, sorters, filters)print("The response of NonEmployeeLifecycleManagementApi->list_non_employee_records:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->list_non_employee_records: %s\n"%e)
List Non-Employee Requests
This gets a list of non-employee requests. There are two contextual uses for the requested-for path parameter:
The user has the role context of idn:nesr:read, in which case he or
she may request a list non-employee requests assigned to a particular account manager by passing in that manager's id.
The current user is an account manager, in which case "me" should be
provided as the requested-for value. This will provide the user with a list of the non-employee requests in the source(s) he or she manages.
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Query
count
bool
(optional) (default to False)
If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. See V3 API Standard Collection Parameters for more information.
Query
sorters
str
(optional)
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: created, approvalStatus, firstName, lastName, email, phone, accountName, startDate, endDate
Query
filters
str
(optional)
Filter results using the standard syntax described in V3 API Standard Collection Parameters Filtering is supported for the following fields and operators: sourceId: eq
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_requestimportNonEmployeeRequestfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintrequested_for='e136567de87e4d029e60b3c3c55db56d'# str | The identity for whom the request was made. *me* indicates the current user. # str | The identity for whom the request was made. *me* indicates the current user.limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)sorters='created,approvalStatus'# str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, approvalStatus, firstName, lastName, email, phone, accountName, startDate, endDate** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, approvalStatus, firstName, lastName, email, phone, accountName, startDate, endDate** (optional)filters='sourceId eq \"2c91808568c529c60168cca6f90c1313\"'# str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **sourceId**: *eq* (optional) # str | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **sourceId**: *eq* (optional)try:# List Non-Employee Requestsapi_response=api_instance.list_non_employee_requests(requested_for,)# Below is a request that includes all optional parameters# api_response = api_instance.list_non_employee_requests(requested_for, limit, offset, count, sorters, filters)print("The response of NonEmployeeLifecycleManagementApi->list_non_employee_requests:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->list_non_employee_requests: %s\n"%e)
List Non-Employee Sources
This gets a list of non-employee sources. There are two contextual uses for the requested-for path parameter:
The user has the role context of idn:nesr:read, in which case he or
she may request a list sources assigned to a particular account manager by passing in that manager's id.
The current user is an account manager, in which case "me" should be
provided as the requested-for value. This will provide the user with a list of the sources that he or she owns.
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
Query
count
bool
(optional) (default to False)
If true it will populate the X-Total-Count response header with the number of results that would be returned if limit and offset were ignored. Since requesting a total count can have a performance impact, it is recommended not to send count=true if that value will not be used. See V3 API Standard Collection Parameters for more information.
Query
non_employee_count
bool
(optional)
The flag to determine whether return a non-employee count associate with source.
Query
sorters
str
(optional)
Sort results using the standard syntax described in V3 API Standard Collection Parameters Sorting is supported for the following fields: name, created, sourceId
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_source_with_ne_countimportNonEmployeeSourceWithNECountfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintrequested_for='me'# str | The identity for whom the request was made. *me* indicates the current user. # str | The identity for whom the request was made. *me* indicates the current user.limit=250# int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)offset=0# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)count=False# bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to False)non_employee_count=true# bool | The flag to determine whether return a non-employee count associate with source. (optional) # bool | The flag to determine whether return a non-employee count associate with source. (optional)sorters='name,created'# str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, sourceId** (optional) # str | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **name, created, sourceId** (optional)try:# List Non-Employee Sourcesapi_response=api_instance.list_non_employee_sources(requested_for,)# Below is a request that includes all optional parameters# api_response = api_instance.list_non_employee_sources(requested_for, limit, offset, count, non_employee_count, sorters)print("The response of NonEmployeeLifecycleManagementApi->list_non_employee_sources:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->list_non_employee_sources: %s\n"%e)
A list of non-employee update operations according to the JSON Patch standard. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json-patch+json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.json_patch_operationimportJsonPatchOperationfromsailpoint.v3.models.non_employee_recordimportNonEmployeeRecordfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='ef38f94347e94562b5bb8424a56397d8'# str | Non-employee record id (UUID) # str | Non-employee record id (UUID)[{op=replace,path=/endDate,value=2019-08-23T18:40:35.772Z}]# List[JsonPatchOperation] | A list of non-employee update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.json_patch_operation={"op":"replace","path":"/description","value":"New description"}# List[JsonPatchOperation] | A list of non-employee update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.try:# Patch Non-Employee RecordResult=json_patch_operation.from_json(json_patch_operation)api_response=api_instance.patch_non_employee_record(id,Result)# Below is a request that includes all optional parameters# api_response = api_instance.patch_non_employee_record(id, Result)print("The response of NonEmployeeLifecycleManagementApi->patch_non_employee_record:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->patch_non_employee_record: %s\n"%e)
Patch a Schema Attribute for Non-Employee Source
This end-point patches a specific schema attribute for a non-employee SourceId.
Requires role context of idn:nesr:update
A list of schema attribute update operations according to the JSON Patch standard. The following properties are allowed for update ':' 'label', 'helpText', 'placeholder', 'required'.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json-patch+json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.json_patch_operationimportJsonPatchOperationfromsailpoint.v3.models.non_employee_schema_attributeimportNonEmployeeSchemaAttributefromsailpoint.v3.restimportApiExceptionfrompprintimportpprintattribute_id='ef38f94347e94562b5bb8424a56397d8'# str | The Schema Attribute Id (UUID) # str | The Schema Attribute Id (UUID)source_id='ef38f94347e94562b5bb8424a56397d8'# str | The Source id # str | The Source id[{op=replace,path=/label,value={newattributelabel=null}}]# List[JsonPatchOperation] | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following properties are allowed for update ':' 'label', 'helpText', 'placeholder', 'required'.json_patch_operation={"op":"replace","path":"/description","value":"New description"}# List[JsonPatchOperation] | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. The following properties are allowed for update ':' 'label', 'helpText', 'placeholder', 'required'.try:# Patch a Schema Attribute for Non-Employee SourceResult=json_patch_operation.from_json(json_patch_operation)api_response=api_instance.patch_non_employee_schema_attribute(attribute_id,source_id,Result)# Below is a request that includes all optional parameters# api_response = api_instance.patch_non_employee_schema_attribute(attribute_id, source_id, Result)print("The response of NonEmployeeLifecycleManagementApi->patch_non_employee_schema_attribute:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->patch_non_employee_schema_attribute: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json-patch+json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.json_patch_operationimportJsonPatchOperationfromsailpoint.v3.models.non_employee_sourceimportNonEmployeeSourcefromsailpoint.v3.restimportApiExceptionfrompprintimportpprintsource_id='e136567de87e4d029e60b3c3c55db56d'# str | Source Id # str | Source Id[{op=replace,path=/name,value={newname=null}},{op=replace,path=/approvers,value=[2c91809f703bb37a017040a2fe8748c7,48b1f463c9e8427db5a5071bd81914b8]}]# List[JsonPatchOperation] | A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.json_patch_operation={"op":"replace","path":"/description","value":"New description"}# List[JsonPatchOperation] | A list of non-employee source update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.try:# Patch a Non-Employee SourceResult=json_patch_operation.from_json(json_patch_operation)api_response=api_instance.patch_non_employee_source(source_id,Result)# Below is a request that includes all optional parameters# api_response = api_instance.patch_non_employee_source(source_id, Result)print("The response of NonEmployeeLifecycleManagementApi->patch_non_employee_source:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->patch_non_employee_source: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_approval_itemimportNonEmployeeApprovalItemfromsailpoint.v3.models.non_employee_reject_approval_decisionimportNonEmployeeRejectApprovalDecisionfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='e136567de87e4d029e60b3c3c55db56d'# str | Non-Employee approval item id (UUID) # str | Non-Employee approval item id (UUID)non_employee_reject_approval_decision={"comment":"approved"}# NonEmployeeRejectApprovalDecision | try:# Reject a Non-Employee RequestResult=non_employee_reject_approval_decision.from_json(non_employee_reject_approval_decision)api_response=api_instance.reject_non_employee_request(id,Result)# Below is a request that includes all optional parameters# api_response = api_instance.reject_non_employee_request(id, Result)print("The response of NonEmployeeLifecycleManagementApi->reject_non_employee_request:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->reject_non_employee_request: %s\n"%e)
Non-employee record creation request body. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessProfiles401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessProfiles429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
importsailpoint.v3fromsailpoint.v3.models.non_employee_recordimportNonEmployeeRecordfromsailpoint.v3.models.non_employee_request_bodyimportNonEmployeeRequestBodyfromsailpoint.v3.restimportApiExceptionfrompprintimportpprintid='ef38f94347e94562b5bb8424a56397d8'# str | Non-employee record id (UUID) # str | Non-employee record id (UUID)non_employee_request_body={"sourceId":"2c91808568c529c60168cca6f90c1313","firstName":"William","lastName":"Smith","manager":"jane.doe","data":{"description":"Auditing"},"accountName":"william.smith","phone":"5125555555","endDate":"2021-03-25T00:00:00-05:00","email":"william.smith@example.com","startDate":"2020-03-24T00:00:00-05:00"}# NonEmployeeRequestBody | Non-employee record creation request body. Attributes are restricted by user type. Owner of source can update end date. Organization admins can update all available fields.try:# Update Non-Employee RecordResult=non_employee_request_body.from_json(non_employee_request_body)api_response=api_instance.update_non_employee_record(id,Result)# Below is a request that includes all optional parameters# api_response = api_instance.update_non_employee_record(id, Result)print("The response of NonEmployeeLifecycleManagementApi->update_non_employee_record:\n")pprint(api_response)exceptExceptionase:print("Exception when calling NonEmployeeLifecycleManagementApi->update_non_employee_record: %s\n"%e)