You can use the deleteGfEntry
mutation to delete a Gravity Forms entry. The entryId
of the deleted entry will be in the response.
mutation {
deleteGfEntry(input: { id: 5 }) {
deletedId
}
}
Similarly, you can use deleteGfDraftEntry
to delete a Gravity Forms draft entry. The resumeToken
of the deleted draft entry will be in the response.
mutation {
deleteGfDraftEntry(
input: { id: "524d5f3a30c845b29a8db35c9f2aaf29", idType: 'RESUME_TOKEN' }
) {
deletedId
}
}