DELETE /community/threads/[threadId]
/api/store/[slug]/community/threads/[threadId]Soft-deletes a community thread (and its posts) - only allowed for the customer who originally created the thread.
Customer bearer token required; caller must be the thread's original posterHow authentication works
Path parameters
slugstringrequiredBusiness (store) slug that identifies the tenant
threadIdstringrequiredThread UUID (validated as UUID; non-UUID values are rejected)
Responses
200
The request succeeded.
400
A field failed validation. The response names the fields that failed, not just the first.
401
The key or customer token is missing, malformed, or no longer valid.
403
The credential is valid but is not allowed to do this.
404
No such store, or no such record inside it.
What comes back
JSON with success:true and message 'Thread deleted.'. Errors return success:false with error text (404 thread/business not found, 400 already deleted, 403 not original poster, 401 unauthenticated).