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!
}
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 sameclientMutationId
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 ourWatcherLink
. May be used by Relay 1.type WatcherLinksEdge { cursor: Cursor node: WatcherLink! }
orderBy
(WatcherLinksOrderBy!) The method to use when orderingWatcherLink
.
enum WatcherLinksOrderBy { NATURAL ID_ASC ID_DESC CODE_ASC CODE_DESC PRIMARY_KEY_ASC PRIMARY_KEY_DESC }