API Docs
Worker Management
Soft Batch Delete Miners

Soft Batch Delete Miners

Soft-deletes workers in a batch

Example

mutation softBatchDeleteMiners {
  softBatchDeleteMiners(input: { minerIds: 12345678 }) {
    miners {
      workerName
      deleted
    }
  }
}

Response

{
  "data": {
    "softBatchDeleteMiners": {
      "miners": [
        {
          "workerName": "worker1",
          "deleted": true
        }
      ]
    }
  }
}

Arguments

  • input (SoftBatchDeleteMinersInput!)

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

type SoftBatchDeleteMinersInput {
  clientMutationId: String
  minerIds: [Int]!
}
  • 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.

  • minerIds ([Int]!)

Type

SoftBatchDeleteMinersPayload

The output of our softBatchDeleteMiners mutation.

type SoftBatchDeleteMinersPayload {
  clientMutationId: String
  miners: [Miner!]
  query: Query
}
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.

  • miners ([Miner!])

  • query (Query)