API Docs
Remove Profile Permissions

Mutation to delete subaccounts permissions

Example

mutation removeProfilePermissions {
  removeProfilePermissions(input: { profileEmail: "[email protected]", subaccount: "newsubaccount_name" }) {
    boolean
  }
}

Response

{
  "data": {
    "getWorkerDetails": {
      "edges": [
        {
          "node": {
            "minerId": "",
            "workerName": "",
            "miningProfileName": "",
            "updatedAt": "",
            "status": "",
            "hashrate": "",
            "validShares": "",
            "staleShares": "",
            "invalidShares": "",
            "lowDiffShares": "",
            "badShares": "",
            "duplicateShares": "",
            "revenue": "",
            "efficiency": ""
          }
        }
      ]
    }
  }
}

Arguments

input (RemoveProfilePermissionsInput!)

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

Type

RemoveProfilePermissionsPayload

The output of our removeProfilePermissions mutation.