Docs
GraphQL referenceMutations

Update Network

MUTATIONupdateNetwork(input: UpdateNetworkInput!): NetworkMutationOutput!

Access: Requires the networks:configure permission.

Arguments

input*

Returns

  1. updateNetwork
message?String
network?
success*Boolean!
Example Request
mutation UpdateNetwork($input: UpdateNetworkInput!) {  updateNetwork(input: $input) {    message    network {      activeListeners      baseUrl      catchupEnabled      catchupPremium      code      feed {        total      }      flagshipSite {        canonicalUrl        createdAt        externalStreamUrl        id        name        organizationId        shortId        slug      }      id      imagesUrl      isPremium    }    success  }}
Variables
{  "input": {    "id": "1"  }}
Example Response
{  "data": {    "updateNetwork": {      "message": "string",      "network": {        "activeListeners": 10,        "baseUrl": "string",        "catchupEnabled": true,        "catchupPremium": true,        "code": "string",        "feed": {          "total": 10        },        "flagshipSite": {          "canonicalUrl": "string",          "createdAt": "<DateTime>",          "externalStreamUrl": "string",          "id": "1",          "name": "string",          "organizationId": "1",          "shortId": "string",          "slug": "string"        },        "id": "1",        "imagesUrl": "string",        "isPremium": true      },      "success": true    }  }}