API Docs
Subaccount Management
Delete Subaccount

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 DeleteSubaccountInput {
  clientMutationId: String
  uname: String!
}
  • 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.

  • uname (String!)

Type

DeleteSubaccountPayload

The output of our deleteSubaccount mutation.

type DeleteSubaccountPayload {
  clientMutationId: String
  boolean: Boolean
  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.

  • boolean (Boolean)

  • query (Query)