Chuyển đến nội dung chính
DELETE
Delete the published post of one target (Threads only)

Ủy quyền

Authorization
string
header
bắt buộc

Workspace API key with role viewer (read) or editor (read + write). Example (fake): smk_0a1b2c3d_ExampleFakeKeyForDocsOnly_0123456789abcZ. Created by a workspace admin on the web; shown once.

Tham số đường dẫn

id
string
bắt buộc

24-char hex ObjectId. Malformed id or an id of another workspace gives 404.

Pattern: ^[0-9a-f]{24}$
Ví dụ:

"66a1b2c3d4e5f60718293a4b"

channelId
string
bắt buộc

Platform channel id of the target.

Phản hồi

The target after deletion.

success
boolean
bắt buộc
message
string
bắt buộc
Ví dụ:

"Operation successful"

data
object
bắt buộc
timestamp
string<date-time>
bắt buộc
meta
object | null