Use this API to implement Auth Profile functionality.
With this functionality in place, users can read authentication profiles and make changes to them.
An authentication profile represents an identity profile's authentication configuration.
When the identity profile is created, its authentication profile is also created.
An authentication profile includes information like its authentication profile type (`BLOCK`, `MFA`, `NON_PTA`, PTA`) and settings controlling whether or not it blocks access from off network or untrusted geographies.
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Get Auth Profile.
This API returns auth profile information.
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.v2024fromsailpoint.v2024.models.auth_profileimportAuthProfilefromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')id='2c91808a7813090a017814121919ecca'# str | ID of the Auth Profile to patch. # str | ID of the Auth Profile to patch.try:# Get Auth Profile.api_response=api_instance.get_profile_config(x_sail_point_experimental,id)# Below is a request that includes all optional parameters# api_response = api_instance.get_profile_config(x_sail_point_experimental, id)print("The response of AuthProfileApi->get_profile_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling AuthProfileApi->get_profile_config: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Get list of Auth Profiles.
This API returns a list of auth profiles.
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.v2024fromsailpoint.v2024.models.auth_profile_summaryimportAuthProfileSummaryfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintx_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')try:# Get list of Auth Profiles.api_response=api_instance.get_profile_config_list(x_sail_point_experimental)# Below is a request that includes all optional parameters# api_response = api_instance.get_profile_config_list(x_sail_point_experimental)print("The response of AuthProfileApi->get_profile_config_list:\n")pprint(api_response)exceptExceptionase:print("Exception when calling AuthProfileApi->get_profile_config_list: %s\n"%e)
:::warning experimental
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.
:::
Patch a specified Auth Profile
This API updates an existing Auth Profile. The following fields are patchable:
offNetwork, untrustedGeography, applicationId, applicationName, type
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.v2024fromsailpoint.v2024.models.auth_profileimportAuthProfilefromsailpoint.v2024.models.json_patch_operationimportJsonPatchOperationfromsailpoint.v2024.restimportApiExceptionfrompprintimportpprintid='2c91808a7813090a017814121919ecca'# str | ID of the Auth Profile to patch. # str | ID of the Auth Profile to patch.x_sail_point_experimental='true'# str | Use this header to enable this experimental API. (default to 'true') # str | Use this header to enable this experimental API. (default to 'true')[sailpoint.v2024.JsonPatchOperation()]# List[JsonPatchOperation] | json_patch_operation={"op":"replace","path":"/description","value":"New description"}# List[JsonPatchOperation] | try:# Patch a specified Auth ProfileResult=json_patch_operation.from_json(json_patch_operation)api_response=api_instance.patch_profile_config(id,x_sail_point_experimental,Result)# Below is a request that includes all optional parameters# api_response = api_instance.patch_profile_config(id, x_sail_point_experimental, Result)print("The response of AuthProfileApi->patch_profile_config:\n")pprint(api_response)exceptExceptionase:print("Exception when calling AuthProfileApi->patch_profile_config: %s\n"%e)