There is no way to reset event end time. It cannot be set to empty/null and throws the error mentioned below:
Error: Argument data.end of type NullableDateTimeFieldUpdateOperationsInput needs at least one argument. : {"response":{"errors":[{"message":"Argument data.end of type NullableDateTimeFieldUpdateOperationsInput needs at least one argument.\n","path":["clear","updateScheduleItem"],"extensions":{"code":"INTERNAL_SERVER_ERROR","exception":{"clientVersion":"3.12.0","stacktrace":["GraphQLError: Argument data.end of type NullableDateTimeFieldUpdateOperationsInput needs at least one argument.",""," at Object.relocatedError (/app/node_modules/@graphql-tools/utils/index.cjs.js:3960:12)"," at mergeDataAndErrors (/app/node_modules/@graphql-tools/wrap/node_modules/@graphql-tools/delegate/index.cjs.js:1400:34)"," at /app/node_modules/@graphql-tools/wrap/node_modules/@graphql-tools/delegate/index.cjs.js:1428:66"," at Array.forEach (<anonymous>)"," at mergeDataAndErrors (/app/node_modules/@graphql-tools/wrap/node_modules/@graphql-tools/delegate/index.cjs.js:1426:27)"," at checkResultAndHandleErrors (/app/node_modules/@graphql-tools/wrap/node_modules/@graphql-tools/delegate/index.cjs.js:1389:38)"," at CheckResultAndHandleErrors.transformResult (/app/node_modules/@graphql-tools/wrap/node_modules/@graphql-tools/delegate/index.cjs.js:1385:16)"," at /app/node_modules/@graphql-tools/wrap/node_modules/@graphql-tools/delegate/index.cjs.js:1572:40"," at Array.reduceRight (<anonymous>)"," at Transformer.transformResult (/app/node_modules/@graphql-tools/wrap/node_modules/@graphql-tools/delegate/index.cjs.js:1571:37)"]}}}],"data":{"clear":{"updateScheduleItem":null}},"status":200,"headers":{"map":{"content-type":"application/json; charset=utf-8"}}},"request":{"query":"mutation UpdateScheduleItemMutation($where: ClearScheduleItemWhereUniqueInput!, $data: ClearScheduleItemUpdateInput!) {\n clear {\n updateScheduleItem(where: $where, data: $data) {\n id\n }\n }\n}\n","variables":{"where":{"id":"clycs0ljj148584895s5phi0sp7x"},"data":{"end":{}}}}}
There is no way to reset event end time. It cannot be set to empty/null and throws the error mentioned below: