API Docs
Watcher Links Management
Delete Watcher Link

Delete Watcher Link

Deletes a watcher link

Example

mutation deleteWatcherLink {
  deleteWatcherLink(input: { wcode: "1234" }) {
    watcherLink {
      code
    }
  }
}

Response

{
  "data": {
    "deleteWatcherLink": {
      "watcherLink": null
    }
  }
}

Arguments

  • input (DeleteWatcherLinkInput!)

The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.

type DeleteWatcherLinkInput {
  clientMutationId: String
  wcode: String!
}
  • clientMutationId (String) An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client.

  • wcode (String!)

Type

DeleteWatcherLinkPayload

The output of our deleteWatcherLink mutation.

type DeleteWatcherLinkPayload {
  clientMutationId: String
  watcherLink: WatcherLink
  query: Query
  watcherLinkEdge(orderBy: [WatcherLinksOrderBy!] = [PRIMARY_KEY_ASC]): WatcherLinksEdge
}
Fields
  • clientMutationId (String) The exact same clientMutationId that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.

  • watcherLink (WatcherLink)

  • query (Query)

  • watcherLinkEdge (WatcherLinksEdge) An edge for our WatcherLink. May be used by Relay 1.

    type WatcherLinksEdge {
      cursor: Cursor
      node: WatcherLink!
    }
    • orderBy (WatcherLinksOrderBy!) The method to use when ordering WatcherLink.
    enum WatcherLinksOrderBy {
      NATURAL
      ID_ASC
      ID_DESC
      CODE_ASC
      CODE_DESC
      PRIMARY_KEY_ASC
      PRIMARY_KEY_DESC
    }