Remove Weight Entry

Use the deleteWeightentry mutation to remove a weight entry for the given date.

Required Arguments

Argument

Type

Note

date

Date!

The date for the entry. Use the format: YYYY-MM-DD

Available Fields

Field

Type

Note

success

Boolean

true: If the entry has been deleted successfully. Otherwise, it displays false

message

String

The message returns either if the information has been updated or not.

Example

mutation {
 deleteWeightEntry(date:"2023-03-11") {

     success
     message
 }
}

Last updated