AlmondTill/G3N API

On this page

deleteMyAppData

mutation · in the family Your own session

What it does

Remove one of your saved preferences. Removing a name that isn’t there refuses — nothing silent.

Remove ONE of your own app-private values. Requires authentication.

Who may call it

Capability area: Your own session — What every signed-in person may do for themselves — their session, their profile and their own work.

Arguments

NameTypeRequiredNotes
appString String!yesNo further notes.
nameString String!yesNo further notes.

Returns

Boolean Boolean! — True or false.

Example request

mutation ExampleDeleteMyAppData($app: String!, $name: String!) {
  deleteMyAppData(app: $app, name: $name)
}

Variables:

{
  "app": "<app>",
  "name": "Blue jeans"
}

Send it with the envelope naming the version: "extensions": {"at": {"version": {"name":"genesis","number":0}}}.

Example response

{
  "data": {
    "deleteMyAppData": true
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}

Errors this call can answer