metadata.links.remove
Remove the Links of metadata entity and another entity.
POST http://api.kompliant.com/metadata.links.remove (OpenAPI specification)
Usage Info
Use this endpoint when removing metadata from a Person, Bank Account, Business or Location entity.
Request
Authentication: KSig1-HMAC-SHA256
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| metadata_id | string | Yes | The Metadata record to link |
| entity_ids | array | No | The Entity Id we want to link to our metadata record. Must be from Person, Bank Account, Business or Location entities |
Notes:
- All entities must belong to the same subject record as the metadata detail.
- Entities with already removed links will be skipped without error.
Example
{
"metadata_id": "md_6DXWVhevFPsUpUyCpS30L",
"entity_ids": ["p_3qn9kVmRIxlRjwR3nmui0b", "b_6AV8JrkmpZMOjQkf9xgxeg"]
}
Response
Data
An empty data object is returned when the completion is successful.
Example
{
"meta": {
"status": "SUCCESS",
"trace_id": "trc_6zNzQZHSf26V83BO3uW6dS",
"version": "2025-03-24"
},
"data": {}
}
Errors
| Error Code | HTTP Code | Possible Cause |
|---|---|---|
| BAD_REQUEST | 400 | Required parameters not provided. Enum value provided does not correspond to an available type. |
| ENTITY_NOT_FOUND | 400 | Any of the provided Ids do not exist. |
| SYSTEM_RULE_VIOLATION | 400 | System rule violations are described below. |
System Rule Violations
When a SYSTEM_RULE_VIOLATION error occurs, the response will include additional entity_type and sub_code fields to provide more specific information:
| Entity Type | Sub-code | Description |
|---|---|---|
| Subject Record | CROSS_SUBJECT_RECORD_REFERENCE | The referenced entities must belong to the same subject record. Associations cannot be created between entities that exist in different subject records. |
Updated 4 months ago