Delete a Daily Recap Question

Use the deleteDailyRecapEntry mutation to delete an question entry with its corresponding answer for a specific date.

Required Arguments

Argument Name

Type

Description

questionId

String

Unique question ID. Use the dailyRecapQuestions query to get the Id of the questions.

date

Date

Date when daily recap question is deleted.

Available Fields

The following fields will be displayed in the response:

Field

Type

Description

success

Boolean

True if the daily recap entry has been deleted successfully. Otherwise, False

Message

String

Description of the result

Example

mutation {
  deleteDailyRecapEntry(
    questionId: "RGFpbHlRdWVzdGlvbjo3Y2E4YzAxZS1kZDRjLTRlODktYjA3NS04ZGZmNzhlZDlhZTE="
    date: "2022-02-23"
  ) {
    success
    message
  }
}


Last updated