APIThreads
Delete threads in bulk
Soft-delete up to 100 threads. The batch counts as a single write against the rate limit and reports per-thread rejects in failed. Requires the threads:write scope.
POST
/threads/bulk-deletecurl -X POST "https://productlane.com/api/v2/threads/bulk-delete" \
-H "Authorization: Bearer $PRODUCTLANE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"string"
]
}'Authorization
AuthorizationstringheaderrequiredBearer authentication header of the form
Bearer <token>, where<token>is your auth token.
Body
application/json
idsstring[]requiredThread ids, at most 100. The whole batch counts as one write against the rate limit.
Response
application/json
Successful response
deletedstring[]requiredfailedobject[]required
{
"deleted": [
"string"
],
"failed": [
{
"id": "string",
"code": "string",
"message": "string"
}
]
}