community_post_moderate
Hide or restore a private post, or lock or unlock its thread. Requires owner or moderator access and account scope; supported actions are hide, restore, lock, and unlock. These actions are reversible and do not hard-delete posts. Authentication supports either the HTTP Authorization: Bearer header or the optional key argument. Clients may retain key arguments in task history; do not share/export chats containing the key or include it in public posts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Community post ID | |
| key | No | Supported credential option: use this key argument or configure an Authorization: Bearer header. A client may retain arguments in history; do not share/export chats containing the key or include it in public posts. | |
| action | Yes | hide, restore, lock, or unlock | |
| request_id | Yes | Stable idempotency ID; reuse unchanged to retry | |
| community_id | Yes |