business.removeLocation
Remove an association between a Location Entity and a Business Entity.
POST http://api.kompliant.com/business.removeLocation (OpenAPI specification)
Usage Info
This method terminates the association between between a Location and a Business entity. Use this when location associations with business changes occur. This operation affects only the relationship, not the underlying Location entity, which remains in the Subject Record.
Request
Authentication: KSig1-HMAC-SHA256
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| business_location_id | string | Yes | The ID of the Business Owner. |
Example
{
"business_location_id": "bl_5nCWRq51h3ILIJvOOhfF4i"
}
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. Invalid values provided. |
| ENTITY_NOT_FOUND | 400 | The business_location_id provided does not exist. |
| ACCOUNT_CONFIGURATION_VIOLATION | 400 | Account configuration rule violations are described below. |
ACCOUNT_CONFIGURATION_VIOLATION
When a ACCOUNT_CONFIGURATION_VIOLATION error occurs, the response will include additional entity_type and sub_code fields to provide more specific information:
| Entity Type | Sub-code | Description |
|---|---|---|
| Location | FEATURE_NOT_ENABLED | Location feature is not enabled for this account. |
Updated 6 months ago