Skip to content
Coursey CreativeSign in

DELETE /forums/threads/[threadId]

/api/store/[slug]/forums/threads/[threadId]

Soft-deletes a forum thread (and its posts) - only allowed for the customer who originally created the thread; alias that re-exports the community thread delete handler.

Customer bearer token required; only the thread's original poster may deleteHow authentication works

Path parameters

slugstringrequired

Business (store) slug that identifies the tenant

threadIdstringrequired

Thread 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 not found, 400 already deleted, 403 not original poster, 401 unauthenticated).