Unify and manage your data

Deleting Unmapped Values

This task enables you to delete the unmapped values in a tenant.

Important: All the lookups unmapped values in a tenant will be removed if you run this task without parameters.

To delete unmapped values in a tenant, use the parameters listed in Table 1: Parameters to Delete the Unmapped Values.

Table 1. Parameters to Delete the Unmapped Values
Parameter Name Mandatory Type Description
type No String Use this parameter to delete the lookup type of unmapped values. If the value is not set then all unmapped values will be deleted. This parameter is optional.
uris No Boolean Use this parameter to list unmapped value URIs to be deleted.

Example: Remove all unmapped values in a tenant

POST https://{{rdm-service}}/tasks/{{tenantId}}
Authorization: Bearer {{token}}
{
  "type": "deleteUnmapped"
}

Example: Remove unmapped values of the certain lookup types only


{
  "type": "deleteUnmapped",
  "parameters": {
    "type": "rdm/lookupTypes/Country"
  }
}

Example: Remove unmapped values by their URIs


POST https://{{rdm-service}}/tasks/{{tenantId}}
Authorization: Bearer {{token}}
{
  "type": "deleteUnmapped",
  "parameters": {
    "uris": [
      "rdm_tenant_id/Country/Reltio/CA",
      "rdm_tenant_id/Country/AHA/USA",
      "rdm_tenant_id/Country/HMS/CZ"
    ]
  }
}