API Docs
Soft Delete Miner

Soft-deletes a worker

Example

mutation softDeleteMiner {
  softDeleteMiner(input: { minerId: 17026121 }) {
    minerEdge {
      node {
        updatedAt
        createdAt
        userId
        workerName
        miningProfileName
        deleted
      }
    }
  }
}

Response

{
  "data": {
    "softDeleteMiner": {
      "minerEdge": {
        "node": {
          "updatedAt": "2023-01-11T12:54:00.02761+00:00",
          "createdAt": "2022-12-07T23:39:00.408735+00:00",
          "userId": 606498,
          "workerName": "prod1",
          "miningProfileName": "BTC",
          "deleted": true
        }
      }
    }
  }
}

Arguments

input (SoftDeleteMinerInput!)

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

Type

SoftDeleteMinerPayload

The output of our softDeleteMiner mutation.