deletePost Mutation
Soft-deletes a Post by setting deletedAt; the Post disappears
from queries but is not destroyed, and there is no undo
mutation. Only the identified Post is marked deleted — its
replies are not modified. Permitted callers match updatePost:
the author, the current owner, anyone with update permission on
the Post's Project (Project Admin, Stack Admin, or Workspace
Admin), or — for Recipe-side Posts — anyone with access to the
Recipe. Returns the deleted Post. id is required at runtime
despite the nullable schema typing.
Arguments
#
id
Response
#
Returns Post .
Example
#
Previous
deleteBox
Next
deleteSlice
