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

ParameterTypeRequiredDescription
business_location_idstringYesThe 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 CodeHTTP CodePossible Cause
BAD_REQUEST400Required parameters not provided.

Invalid values provided.
ENTITY_NOT_FOUND400The business_location_id provided does not exist.
ACCOUNT_CONFIGURATION_VIOLATION400Account 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 TypeSub-codeDescription
LocationFEATURE_NOT_ENABLEDLocation feature is not enabled for this account.