API Docs
Delete Subaccount

Mutation to remove subaccount

Example

mutation deleteSubaccount {
  deleteSubaccount(input: { uname: "subaccount_to_be_deleted" }) {
    boolean
  }
}

Response

{
  "data": {
    "deleteSubaccount": {
      "boolean": true
    }
  }
}

Arguments

input (DeleteSubaccountInput!)

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

Type

DeleteSubaccountPayload

The output of our deleteSubaccount mutation.