Delete source's classification config
Use this API to remove Classification Config for a Source.
A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
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
fromsailpoint.v2025.api.machine_classification_config_apiimportMachineClassificationConfigApifromsailpoint.v2025.api_clientimportApiClientfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='ef38f94347e94562b5bb8424a56397d8'# str | Source ID. # str | Source ID.try:# Delete source's classification configMachineClassificationConfigApi(api_client).delete_machine_classification_config(id=id)# Below is a request that includes all optional parameters# MachineClassificationConfigApi(api_client).delete_machine_classification_config(id)exceptExceptionase:print("Exception when calling MachineClassificationConfigApi->delete_machine_classification_config: %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
fromsailpoint.v2025.api.machine_classification_config_apiimportMachineClassificationConfigApifromsailpoint.v2025.api_clientimportApiClientfromsailpoint.v2025.models.machine_classification_configimportMachineClassificationConfigfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='ef38f94347e94562b5bb8424a56397d8'# str | Source ID # str | Source IDtry:# Machine classification config for sourceresults=MachineClassificationConfigApi(api_client).get_machine_classification_config(id=id)# Below is a request that includes all optional parameters# results = MachineClassificationConfigApi(api_client).get_machine_classification_config(id)print("The response of MachineClassificationConfigApi->get_machine_classification_config:\n")print(results.model_dump_json(by_alias=True,indent=4))exceptExceptionase:print("Exception when calling MachineClassificationConfigApi->get_machine_classification_config: %s\n"%e)
Update source's classification config
Use this API to update Classification Config for a Source. A token with ORG_ADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
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
fromsailpoint.v2025.api.machine_classification_config_apiimportMachineClassificationConfigApifromsailpoint.v2025.api_clientimportApiClientfromsailpoint.v2025.models.machine_classification_configimportMachineClassificationConfigfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:id='ef38f94347e94562b5bb8424a56397d8'# str | Source ID. # str | Source ID.machine_classification_config='''{
"criteria" : "criteria",
"created" : "2017-07-11T18:45:37.098Z",
"modified" : "2018-06-25T20:22:28.104Z",
"classificationMethod" : "SOURCE",
"enabled" : true
}'''# MachineClassificationConfig | try:# Update source's classification confignew_machine_classification_config=MachineClassificationConfig.from_json(machine_classification_config)results=MachineClassificationConfigApi(api_client).set_machine_classification_config(id=id,machine_classification_config=new_machine_classification_config)# Below is a request that includes all optional parameters# results = MachineClassificationConfigApi(api_client).set_machine_classification_config(id, new_machine_classification_config)print("The response of MachineClassificationConfigApi->set_machine_classification_config:\n")print(results.model_dump_json(by_alias=True,indent=4))exceptExceptionase:print("Exception when calling MachineClassificationConfigApi->set_machine_classification_config: %s\n"%e)