Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

Latest commit

 

History

History
60 lines (48 loc) · 1000 Bytes

readme.md

File metadata and controls

60 lines (48 loc) · 1000 Bytes

Terminate Account

Terminate account

Sample

import { TerminateAccount } from 'top-tracker'

const parameters = {}
const input = {}

new TerminateAccount(parameters)
    .call(input)
    .then((output) => {})
    .catch(({ message, payload }) => {})
  • Parameters
{
    "id": "isString"
}
  • Input
{
    "access_token": "isString"
}
  • Output
{
    "user": {
        "id": "isNumber",
        "email": "isString",
        "name": "isString",
        "time_zone": "isString",
        "avatar_url": "isString",
        "company_name": "isString",
        "invoice_due_period": "isNumber",
        "address": "isString",
        "phone": "isString",
        "currency": "isString",
        "used_desktop": "isBoolean",
        "has_invoices": "isBoolean",
        "first_name": "isString",
        "middle_name": "isString",
        "last_name": "isString",
        "city": "isString",
        "country_id": "isNumber"
    }
}