API referencePosts
Move an owned post to Trash
POST
AuthorizationBearer <token>
In: header
Path Parameters
postId*string
Length
1 <= length <= 128Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/posts/post_01K4Y6P8K2/trash"{ "id": "post_01K4Y6P8K2", "localDate": "2026-09-10", "trashedAt": "2026-09-09T12:00:00Z", "restoreUntil": "2026-09-09T12:00:00Z", "purgeDueAt": "2026-09-09T12:00:00Z", "generation": 0, "pendingCleanup": true, "failureCategory": "string"}