Using TypeScript? Check out our GraphQL SDK for a fully typed client.
Deleting a thread removes it from the inbox. The thread is soft-deleted, so you can still recover it through Plain’s support if needed shortly after, but it should be treated as a destructive action.This operation requires the following permissions:
thread:delete
Mutation
mutation deleteThread($input: DeleteThreadInput!) { deleteThread(input: $input) { error { message type code fields { field message type } } }}