# recorddelete

- **URL:** https://marketplace.gohighlevel.com/docs/webhook/RecordDelete
- **Summary:** The `Delete Record` is triggered whenever a record or business (company) is deleted from the system.

[Skip to main content](https://marketplace.gohighlevel.com/docs/webhook/RecordDelete#__docusaurus_skipToContent_fallback)

Version: v3

On this page

Overview[​](https://marketplace.gohighlevel.com/docs/webhook/RecordDelete#overview "Direct link to Overview")

The `Delete Record` is triggered whenever a record or business (company) is deleted from the system.

Schema[​](https://marketplace.gohighlevel.com/docs/webhook/RecordDelete#schema "Direct link to Schema")

The webhook payload follows a structured JSON schema, which defines the format and expected data types of the event payload.

    {  "type": "object",  "properties": {    "type": {      "type": "string"    },    "locationId": {      "type": "string"    },    "owners": {      "type": "array",      "items": {        "type": "string"      }    },    "followers": {      "type": "array",      "items": {        "type": "string"      }    },    "properties": {      "type": "array",      "items": {        "type": "object",        "properties": {          "key": {            "type": "string"          },          "valueString": {            "type": "string"          }        }      }    },    "id": {      "type": "string"    },    "timestamp": {      "type": "string",      "format": "date-time"    }  }}

Explanation of Fields[​](https://marketplace.gohighlevel.com/docs/webhook/RecordDelete#explanation-of-fields "Direct link to Explanation of Fields")

| Field | Type | Description |
| --- | --- | --- |
| `type` | `string` | The type of event. |
| `locationId` | `string` | Unique identifier for the location associated with the deleted record. |
| `owners` | `array of strings` | List of user IDs that were assigned as owners of the deleted record. |
| `followers` | `array of strings` | List of user IDs that were following the deleted record. |
| `properties` | `array of objects` | Key-value pairs containing additional metadata about the record. |
| `id` | `string` | Unique identifier of the deleted record. |
| `timestamp` | `string (ISO 8601 format)` | The timestamp when the deletion event occurred. |

Example Payload[​](https://marketplace.gohighlevel.com/docs/webhook/RecordDelete#example-payload "Direct link to Example Payload")

    {  "id": "679b8f9bde6a0c356a0311b3",  "locationId": "eHy2cOSZxMQzQ6Yyvl8P",  "timestamp": "2025-02-10T08:26:05.961Z",  "owners": ["60d5ec49f72b2a001f5f9d91"],  "followers": ["60d5ec49f72b2a001f5f9d93", "60d5ec49f72b2a001f5f9d94"],  "properties": [    {      "key": "pet_name",      "valueString": "buddy"    }  ]}

Share your feedback
-------------------

★★★★★

*   [Overview](https://marketplace.gohighlevel.com/docs/webhook/RecordDelete#overview)
    
*   [Schema](https://marketplace.gohighlevel.com/docs/webhook/RecordDelete#schema)
    
*   [Explanation of Fields](https://marketplace.gohighlevel.com/docs/webhook/RecordDelete#explanation-of-fields)
    
*   [Example Payload](https://marketplace.gohighlevel.com/docs/webhook/RecordDelete#example-payload)
