Unify and manage your data

Cleanse configuration for entity types

Learn more about how to retrieve, update, and delete cleanse configuration for an entity type using the Configuration API.

Use the Configuration to retrieve, update, and delete the cleanseConfig sub-resource for an entity type. By default, GET responses include inherited configuration. To exclude inherited configuration, set the inheritance query parameter to false.

HTTP methods and endpoints

Use one of the following HTTP methods and endpoint paths to submit the request:

GET retrieves the cleanseConfig definition for the specified entity type.

GET {TenantURL}/configuration/entityTypes/{entityTypeName}/cleanseConfig?inheritance=true|false

PUT updates the cleanseConfig definition for the specified entity type.

PUT {TenantURL}/configuration/entityTypes/{entityTypeName}/cleanseConfig

DELETE deletes the cleanseConfig definition for the specified entity type.

DELETE {TenantURL}/configuration/entityTypes/{entityTypeName}/cleanseConfig

The following table describes the endpoint path parameters.

NameRequiredDescription
TenantURLYesThe base URL for your tenant.
entityTypeNameYesThe name of the entity type whose cleanseConfig sub-resource you want to retrieve, update, or delete.

Request headers

Include the following headers in the request.

NameRequiredDescription
AuthorizationYesAccess token used to authenticate the tenant request.
Content-TypeYes, for PUTapplication/json

Query parameters

The following table describes the query parameters.

NameRequiredDescription
inheritanceNo, for GETDetermines whether inherited configuration from base types is included in the response. Accepted values are true and false. Default: true.

Example requests

The following example retrieves the cleanseConfig sub-resource for the Individual entity type and includes inherited configuration.

GET {TenantURL}/configuration/entityTypes/Individual/cleanseConfig?inheritance=true
Authorization: <access_token>

The following example updates the cleanseConfig sub-resource for the Individual entity type.

PUT {TenantURL}/configuration/entityTypes/Individual/cleanseConfig
Authorization: <access_token>
Content-Type: application/json

<updated cleanseConfig definition>

The following example deletes the cleanseConfig sub-resource for the Individual entity type.

DELETE {TenantURL}/configuration/entityTypes/Individual/cleanseConfig
Authorization: <access_token>

Example responses

The following examples show the response pattern for successful and error outcomes.

Successful GET response

HTTP/1.1 200 OK
Content-Type: application/json

<cleanseConfig definition>

Successful PUT response

HTTP/1.1 200 OK
Content-Type: application/json

<updated cleanseConfig definition>

Successful DELETE response

HTTP/1.1 204 No Content

Error response

HTTP/1.1 400 Bad Request
Content-Type: application/json

<TYPE_IS_NOT_FOUND or VALIDATION_ERROR>