contacts_deletecontactrelationship
Remove a specified relationship between a contact and a related entity (customer, location, or booking) in ServiceTitan by providing the contact ID, related entity ID, relationship type, and tenant ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contactId | Yes | Format - guid. Contact Id | |
relatedEntityId | Yes | Format - int64. Related Entity ID | |
tenant | Yes | Format - int64. Tenant ID | |
typeSlug | Yes | Relationship type: customer, location, booking |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"contactId": {
"description": "Format - guid. Contact Id",
"format": "uuid",
"type": "string"
},
"relatedEntityId": {
"description": "Format - int64. Related Entity ID",
"type": "integer"
},
"tenant": {
"description": "Format - int64. Tenant ID",
"type": "integer"
},
"typeSlug": {
"description": "Relationship type: customer, location, booking",
"type": "string"
}
},
"required": [
"contactId",
"relatedEntityId",
"typeSlug",
"tenant"
],
"type": "object"
}