Delete Record

DELETEhttps://services.leadconnectorhq.com/objects/{schemaKey}/records/{id}

Delete Record By Id . Supported Objects are business and custom objects.

Request

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Provide your bearer token in the Authorization header when making requests to protected resources.

Example: Authorization: Bearer 123
id
string
required

id of the record to be updated. Available on the Record details page under the 3 dots or in the url

Example:
632c34b4c9b7da3358ac9891
schemaKey
string
required

The key of the Custom Object / Standard Object Schema. For custom objects, the key must include the “custom_objects.” prefix, while standard objects use their respective object keys. This information is available on the Custom Objects Details page under Settings.

Example:
custom_objects.pet or business.email (for company's email)
Authorization
string
required

Access Token

Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
string
required

API Version

Allowed value:
2021-07-28

Responses

Successful response

id
string

id of the deleted object

Example:
661c06b4ffde146bdb469442
success
boolean

boolean that defines if the operation was a success or not

Example:
true

Bad Request

statusCode
number
Example:
400
message
string
Example:
Bad Request

Unauthorized

statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized