/api/v1/object/data/{objectSlug}/bulk-deleteDelete up to 500 records by slug.
Delete up to 500 records by slug.
Deletes every record in slugs. Slugs that match no record are ignored.
Every record is checked first: when the credential may not delete one of
them, the call answers 403 and deletes none. For larger selections or a
per-record report, use POST /object/data/{objectSlug}/bulk-actions with
kind delete.
Scope: delete.<object slug>, for example delete.contacts.
Errors:
400— no active object has that slug.403— the credential may not delete one of the records.422—slugsis empty or holds more than 500 slugs.
Request:
{
"slugs": ["9f2c4b7a1e03", "c83e1a5f2d97"]
}
Response 200:
{
"status": 200,
"message": "Bulk delete completed",
"data": null
}
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Request body
application/jsonrequiredResponses
Successful response
{
"message": "string"
}Bad request
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Unauthorized
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Internal server error
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Powered by heyo-docs