Upbooks API
  1. Organization
Upbooks API
  • Auth
    • Login
    • RefreshToken
    • GetAuthUser
    • GetLoginLogs
    • GetLoginSessions
    • GetOrganizationLoginSessions
    • ForgotPasswordByEmail
    • UpdatePassword
    • ChangePassword
    • UpdateProfile
    • VerifyEmailToken
    • UpdateSelectedOrgDetails
  • Account Ledger
    • GetAllAccountLedgers
    • RecordAccountLedgerAdjustment
    • FixAccountLedger
    • FixAllAccountLedger
  • Activity Log
    • GetActivityLogs
    • GetAllActivityLogs
  • Announcement
    • GetAnnouncementList
    • AddAnnouncement
    • GetActiveAnnouncements
    • GetAnnouncementDetail
    • UpdateAnnouncement
  • Asset
    • GetAssetsValue
    • GetAssets
    • AddAsset
    • GetAssetDetail
    • UpdateAsset
    • DeleteAsset
    • FileImport
  • Sales
    • GetTotalRevenue
    • GetTotalReceivables
    • GetTotalInwardPayment
    • GetTotalOverDuePayment
    • SalesRatio
    • GetGrowthByMonth
    • GetGrowthByQuarter
    • GetGrowthByYear
    • GetSnapshotReceivables
    • GetSalesByInvoiceTypes
    • GetIncomeByInvoiceTypes
    • GetGstInvoices
    • GetRecurringInvoices
    • GetClientsAcquired
    • GetSalesByMonthGraph
    • GetSalesByYearGraph
    • GetSalesByProductGraph
    • GetSalesByServiceGraph
    • GetSalesByClientGraph
    • GetSalesByCountryGraph
    • GetSalesByUserGraph
    • GetRevenueBySource
    • GetSalesByRegionGraph
  • Client
    • GetClients
    • AddClient
    • GetClientDetail
    • UpdateClient
    • DeleteClient
    • StatementOfAccount
    • LedgerSyncStatus
    • FixStatementOfAccount
    • GetOutstandingReceivables
    • GetTotalBilling
    • UpdateBillingAddress
    • UpdateShippingAddress
    • FileImport
    • GetPrefferedPayment
    • GetPrefferedAcccount
  • Client Ledger
    • RecordClientLedgerAdjustment
  • CreditNote
    • GetCreditNoteList
    • AddCreditNote
    • GetNextCreditNoteNumber
    • GetCreditNoteDetail
    • UpdateCreditNote
    • SendCreditNoteEmail
    • CancelCreditNote
    • UpdateCreditNoteNumber
    • GenerateCreditNote
  • Cron-jobs
    • JobRunner
  • Currency Conversion
    • GetCurrencyRatesData
  • Document
    • GetAllDocumentsOfOrganiztion
    • DeleteFile
  • Discount
    • GetAllDiscounts
    • AddDiscount
    • GetDiscountDetail
    • UpdateDiscount
    • DeleteDiscount
  • Employee
    • GetEmployeesByMonth
    • GetEmployees
    • AddEmployee
    • GetEmployeeDetail
    • UpdateEmployee
    • DeleteEmployee
    • FileImport
    • UpdateSalaryComponent
    • UpdateFileUrl
    • UpdateInvoiceNumber
    • PrepareSalaryComponents
    • UpdateEmployeeName
    • UpdateEmployeeEmail
    • UpdateEmployeePhone
    • UpdateEmployeeDob
    • UpdateEmployeeLocation
    • UpdateEmployeePanNumber
    • UpdateEmployeeAdharNumber
    • UpdateEmployeeEsiNumber
    • UpdateEmployeeEpsNumber
    • UpdateEmployeeUanNumber
    • UpdateEmployeePfNumber
    • UpdateEmployeeCountry
    • UpdateEmployeeBankAccountDetails
    • UpdateEmployeeCurrentAddress
    • UpdateEmployeePermanentAddress
    • LinkUser
    • UpdateEmployeeDocumentInfo
    • UpdateEmployeeProfilePicture
  • Email
    • SendEmail
  • Expense
    • GetMostSpentOn
    • GetTotalRevenue
    • GetExpenseList
    • AddExpense
    • GetExpenseDetail
    • UpdateExpense
    • DeleteExpense
    • UpdateExpenseRecurring
    • UpdateFileUrl
    • FileImport
  • File
    • UploadFile
    • AddFile
  • Hr
    • GetTotalPayroll
    • GetLeastleave
    • GetMostleave
    • GetAssetsValue
    • GetEmployeesByMonth
    • GetEsiEnrolledEmployees
    • GetPfEnrolledEmployees
    • EmployeesLeftByMonth
    • EmployeesByComponentGroup
  • Inventory Ledger
    • GetAllInventoryLedgers
    • RecordInventoryAdjustment
  • Invoice
    • GetInvoiceList
    • AddInvoiceSystemGenerated
    • GetNextInvoiceNumber
    • GetInvoiceDetail
    • UpdateInvoice
    • DeleteInvoice
    • AddInvoiceManual
    • SendInvoiceEmail
    • CancelInvoice
    • UpdateInvoiceNumber
    • UpdateInvoiceRecurring
    • MarkInvoiceAsPaid
    • GenerateInvoice
    • FileImport
  • Item
    • GetAllItems
    • GetItemDetail
    • UpdateItem
  • Organization
    • GetOrganizations
      GET
    • AddOrganization
      POST
    • UpdateOrganization
      PUT
    • GetOrganizationDetail
      GET
    • DeleteOrganization
      DELETE
    • UpdateOrganizationBusinessProfile
      PATCH
    • ExtendSubscription
      PATCH
    • UpdateGSTDetails
      PATCH
    • UpdateVATDetails
      PATCH
    • UpdateInvoiceOnOrderSetting
      PATCH
    • UpdateReminderSetting
      PATCH
    • UpdateInvoiceSettings
      PATCH
    • UpdatePurchaseOrderSettings
      PATCH
    • UpdateProposalSettings
      PATCH
    • UpdatePreferences
      PATCH
    • GetOrganizationPreferences
      GET
    • UpdatePaymentSettings
      PATCH
    • UpdateDefaultPaymentSettings
      PATCH
    • UpdateLogo
      PATCH
    • UpdateFromEmail
      PATCH
    • OrganizationDeactive
      PATCH
    • GetOrganizationSubscriptions
      GET
    • GetOrganizationDashboardView
      GET
    • GetOrganizationDashboardSnapshot
      GET
    • GetSnapshotReceivables
      GET
    • DeleteSelectiveData
      DELETE
    • DeletePermanent
      DELETE
    • GetClientCountries
      GET
    • GetVendorCountries
      GET
    • GetLeadCountries
      GET
    • InviteUsers
      POST
    • AcceptInvitation
      GET
    • UpdatePlatformCredits
      PATCH
    • UpdateCreditNoteSettings
      PATCH
    • UpdateDebitNoteSettings
      PATCH
  • Order
    • GetAllOrder
    • AddOrder
    • GetNextOrderNumber
    • GetOrderItems
    • GetPastDayOrders
    • GetOrderDetail
    • UpdateOrder
    • DeleteOrder
    • CancelOrder
    • CalculateOrderTotal
    • UpdateFileUrl
    • UpdateOrderStatusToDraft
    • FileImport
  • Outward Payment
    • GetAllOutwardPayment
    • AddOutwardPayment
    • GetOutwardPaymentDetail
    • UpdateOutwardPayment
    • DeleteOutwardPayment
    • FileImport
    • UpdateFileUrl
  • Operations
    • GetTotalProjects
    • GetTotalProjectsMultiple
    • GetTotalProjectsBudget
    • GetAllProjectsByClients
    • GetAllProjectsByBudgets
    • GetTasksPrioritySnapshots
    • GetTasksSnapshotGraph
    • GetProjectTaskList
    • GetTasksByProjectList
    • GetTasksList
    • GetProjectsByBudget
  • Payment
    • GetAllPayment
    • AddPayment
    • GetPastDayPayments
    • GetPaymentDetail
    • UpdatePayment
    • DeletePayment
    • GeneratePayment
    • SendPaymentEmail
    • FileImport
    • UpdateFileUrl
  • Product
    • GetProductList
    • AddProduct
    • GetProductDetail
    • UpdateProduct
    • DeleteProduct
    • FileImport
  • Proposal
    • GetAllProposal
    • AddProposal
    • GetNextProposalNumber
    • GetProposalDetail
    • UpdateProposal
    • DeleteProposal
    • CalculateProposalTotal
    • GenerateProposal
  • Platform Plan
    • GetAllPlatformPlans
    • AddPlatformPlan
    • GetPlatformPlanDetail
    • UpdatePlatformPlan
    • DeletePlatformPlan
  • Platform Subscription
    • GetAllPlatformSubscriptions
    • AddPlatformPayment
  • Platform Payment
    • GetAllPlatformPayments
    • GetPlatformPaymentDetail
    • CancelPlatformPayment
  • ProductCategory
    • GetAllProductCategories
    • AddProductCategory
    • GetProductCategoryDetail
    • UpdateProductCategory
    • DeleteProductCategory
  • Purchase Order
    • GetOrderItems
    • GetAllPurchaseOrder
    • AddPurchaseOrder
    • GetNextPurchaseOrderNumber
    • GetPurchaseOrderDetail
    • UpdatePurchaseOrder
    • DeletePurchaseOrder
    • CalculatePurchaseOrderTotal
    • GeneratePurchaseOrder
  • Purchase
    • GetMostSpentOn
    • GetTotalExpense
    • GetTotalOutwardPayment
    • GetExpenseByTypeGraph
    • GetGstExpenses
    • GetUnpaidExpenses
    • GetOutwardPayments
    • GetExpenseBreakdownByVendorGraph
    • GetExpenseBreakdownByTypeGraph
    • GetExpenseWithoutReciepts
  • Recurring Expense
    • GetAllRecurringExpenses
    • GetRecurringExpenseDetail
    • UpdateRecurringExpenseStatus
    • UpdateRecurringExpenseNextDue
  • Recurring Invoice
    • GetAllRecurringInvoices
    • GetRecurringInvoiceDetail
    • UpdateRecurringInvoiceStatus
    • DeleteRecurringInvoice
    • UpdateRecurringInvoiceNextDue
  • Report
    • GetSalesByClient
    • GetSalesByProduct
    • GetSalesByProductCategory
    • GetSalesByService
    • GetSalesByMonth
    • GetSalesByYear
    • GetSalesByQuarter
    • GetSalesByCountry
    • GetTaxSummary
    • GetInvoiceDetailReport
    • GetExpensesByMonth
    • GetProfitAndLossReportV2
    • GetBalanceSheetReport
    • GetTrialBalanceReport
    • GetGeneralLedger
    • GetSalesByHsn
    • GetTaxesByMonth
    • GetOtherSales
  • Routes
    • GetRoutes
    • AddRoute
    • GetRouteDetail
    • UpdateRoute
    • DeleteRoute
  • Settlement
    • GetAllSettlements
    • GetAllSettlementsSuperadmin
    • GetSettlementDetail
  • Services
    • GetAllServices
    • AddServices
    • GetServicesDetail
    • UpdateServices
    • DeleteServices
    • FileImport
  • Tax
    • GetAllTaxes
    • AddTax
    • GetTaxDetail
    • UpdateTax
    • DeleteTax
    • FileImport
  • Trip
    • GetTrips
    • AddTrip
    • GetTripDetail
    • UpdateTrip
    • DeleteTrip
  • User
    • GetUser
    • GetUserDetail
    • UpdateUser
    • DeleteUser
    • AddUserOnboarding
    • GetOrganizationByUser
    • UpdateEmailOfUser
    • UpdateImageOfUser
    • RemoveUserOrganization
    • UpdateOrganizationActive
  • User Invites
    • GetUserInviteList
    • CancelUserInvite
  • Vendor
    • GetAllVendors
    • AddVendor
    • GetVendorDetail
    • UpdateVendor
    • DeleteVendor
    • GetOutstandingPayables
    • GetTotalBilling
    • StatementOfAccount
    • LedgerSyncStatus
    • FixStatementOfAccount
    • FileImport
  • Vendor Ledger
    • RecordVendorLedgerAdjustment
  • Projects
    • GetAllProjects
    • AddProject
    • GetProjectDetail
    • UpdateProjects
    • DeleteProject
    • FileImport
    • UpdateProjectIcon
    • UpdateProjectStatus
    • UpdateProjectArchiveStatus
  • Pre Sales
    • GetLeadsBySource
    • GetLeadsByMonthGraph
    • GetRecentEnquires
  • Task
    • Get
    • Add
    • GetQuickFilters
    • GetNextTaskNumber
    • GetSingle
    • Update
    • Delete
    • UpdateStatus
    • UpdateSortOrder
    • UpdatePriority
    • UpdateTitle
    • UpdateSummary
    • UpdateLabels
    • UpdateReporter
    • UpdateAssignee
    • UpdateAttachments
    • FileImport
  • Payroll
    • GetTotalPayroll
    • GetAllPayroll
    • AddPayroll
    • PrepareEmployeePayroll
    • GetSinglePayroll
    • UpdatePayroll
    • DeletePayroll
    • GeneratePayroll
    • FileImport
  • Account
    • Get
    • AddAccount
    • GetSingle
    • Update
    • Delete
    • FileImport
    • LedgerSyncStatus
    • CloseBooks
  • Enquiry
    • GetAllEnquiries
    • AddEnquiry
    • GetEnquiryDetail
    • UpdateEnquiry
    • DeleteExpense
  • Account Transfer
    • GetAccountTransfers
    • AddAccountTransfer
    • GetAccountTransferDetail
    • DeleteAccountTransfer
    • FileImport
  • File Import
    • Get
  • File Import Error
    • GetFileImportErrorList
  • Brand
    • GetAllBrands
    • AddBrand
    • GetBrandListPublic
    • GetBrandDetail
    • UpdateBrand
    • DeleteBrand
  • Salary Component
    • GetAllSalaryComponents
    • AddSalaryComponent
    • GetSalaryComponent
    • UpdateSalaryComponent
    • DeleteSalaryComponent
  • Leaves Configuration
    • CreateLeave
    • GetLeaves
    • DeleteLeave
    • UpdateLeave
    • GetLeave
  • Tax Calendar
    • CreateTaxCalendar
    • GetTaxCalendar
    • DeleteTaxCalendar
    • UpdateTaxCalendar
    • GetLeave
  • Contract
    • CreateContract
    • GetContract
    • DeleteContract
    • UpdateContract
    • GetLeave
  • GST-Reports
    • GetReportB2B
    • GetReportB2cl
    • GetReportB2cs
    • GetReportExports
    • GetGstSummary
    • ExportJsonGst1
  • Organization Backup
    • GetAllBackups
    • AddOrganizationBackup
  • Bank Account
    • AddBankAccount
    • GetAllBankAccounts
    • GetBankAccountDetail
    • UpdateBankAccount
    • DeleteBankAccount
    • FileImport
  • Leave Policy
    • GetAllBankAccounts
    • AddLeavePolicy
    • GetLeavePolicyDetail
    • UpdateLeavePolicy
    • DeleteLeavePolicy
  • Leave Application
    • GetMostleave
    • GetLeastleave
    • GetAllLeaveApplications
    • AddLeaveApplication
    • GetLeaveApplicationDetail
    • DeleteLeaveApplication
    • UpdateLeaveApplication
    • GetEmployeeLeaveSummary
    • UpdateLeaveApplicationStatus
    • UpdateLeaveApplicationStatusFromEmail
  • Backup Restore
    • AddBackupRestore
    • GetAllBackupRestores
  • Finance
    • GetGstReceivableTotal
    • GetGstReceivable
    • GetGstPayableTotal
    • GetGstPayable
    • GetAccountBalance
    • GetLastAccountDebited
    • GetAccountTransferSummary
    • GetRecentTransfer
    • GetCreditedAmounts
    • GetDebitedAmounts
    • GetGstBills
    • GetAccountAnalysisGraph
  • Email-Rule
    • GetEmailRules
    • AddEmailRule
    • UpdateEmailRule
    • DeleteEmailRule
  • Widget
    • GetWidgets
  • User Dashboard
    • GetUserDashboards
    • Add
    • Update
  • ExpenseCategory
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Lead
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
    • LeadToClient
    • FileImport
  • LeadActivity
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Deal
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • DebitNote
    • GetDebitNoteList
    • AddDebitNote
    • GetNextDebitNoteNumber
    • GetDebitNoteDetail
    • UpdateDebitNote
    • SendDebitNoteEmail
    • CancelDebitNote
    • UpdateDebitNoteNumber
    • GenerateDebitNote
  • SpendCategory
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • SpendPolicy
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Employee Spend
    • GetAllEmployeeSpends
    • AddEmployeeSpend
    • GetEmployeeSpendDetail
    • DeleteEmployeeSpend
    • UpdateEmployeeSpend
  • Warehouse
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Branch
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  1. Organization

DeleteSelectiveData

DELETE
https://api.upbooks.io/api/v1/organization/{id}/selective
Organization

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
Header Params
ORGANIZATION-ID
string 
optional
OrganizationId of your registered business on upbooks
Example:
000000
Body Params application/json
clients
boolean 
required
vendors
boolean 
required
assets
boolean 
required
employees
boolean 
required
expenses
boolean 
required
products
boolean 
required
services
boolean 
required
orders
boolean 
required
payments
boolean 
required
settlements
boolean 
required
invoice
boolean 
required
taxes
boolean 
required
discounts
boolean 
required
users
boolean 
required
items
boolean 
required
proposals
boolean 
required
purchaseOrders
boolean 
required
documents
boolean 
required
projects
boolean 
required
tasks
boolean 
required
payroll
boolean 
required
account
boolean 
required
enquiry
boolean 
required
outwardPayments
boolean 
required
creditNotes
boolean 
required
platformSubscriptions
boolean 
required
employeeLeaves
boolean 
required
fileImports
boolean 
required
activityLogs
boolean 
required
orgSettings
boolean 
required
organizationBackups
boolean 
required
leavePolicies
boolean 
required
bankAccounts
boolean 
required
accountLedger
boolean 
required
accountTransfer
boolean 
required
clientLedger
boolean 
required
salaryComponents
boolean 
required
leads
boolean 
required
leadActivities
boolean 
required
deals
boolean 
required
debitNotes
boolean 
required
expenseCategories
boolean 
required
warehouse
boolean 
required
branch
boolean 
required
contracts
boolean 
required
employeeSpends
boolean 
required
Example
{
    "clients": true,
    "vendors": true,
    "assets": true,
    "employees": true,
    "expenses": true,
    "products": true,
    "services": true,
    "orders": true,
    "payments": true,
    "settlements": true,
    "invoice": true,
    "taxes": true,
    "discounts": true,
    "users": true,
    "items": true,
    "proposals": true,
    "purchaseOrders": true,
    "documents": true,
    "projects": true,
    "tasks": true,
    "payroll": true,
    "account": true,
    "enquiry": true,
    "outwardPayments": true,
    "creditNotes": true,
    "platformSubscriptions": true,
    "employeeLeaves": true,
    "fileImports": true,
    "activityLogs": true,
    "orgSettings": true,
    "organizationBackups": true,
    "leavePolicies": true,
    "bankAccounts": true,
    "accountLedger": true,
    "accountTransfer": true,
    "clientLedger": true,
    "salaryComponents": true,
    "leads": true,
    "leadActivities": true,
    "deals": true,
    "debitNotes": true,
    "expenseCategories": true,
    "warehouse": true,
    "branch": true,
    "contracts": true,
    "employeeSpends": true
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.upbooks.io/api/v1/organization//selective' \
--header 'ORGANIZATION-ID: 000000' \
--header 'Content-Type: application/json' \
--data-raw '{
    "clients": true,
    "vendors": true,
    "assets": true,
    "employees": true,
    "expenses": true,
    "products": true,
    "services": true,
    "orders": true,
    "payments": true,
    "settlements": true,
    "invoice": true,
    "taxes": true,
    "discounts": true,
    "users": true,
    "items": true,
    "proposals": true,
    "purchaseOrders": true,
    "documents": true,
    "projects": true,
    "tasks": true,
    "payroll": true,
    "account": true,
    "enquiry": true,
    "outwardPayments": true,
    "creditNotes": true,
    "platformSubscriptions": true,
    "employeeLeaves": true,
    "fileImports": true,
    "activityLogs": true,
    "orgSettings": true,
    "organizationBackups": true,
    "leavePolicies": true,
    "bankAccounts": true,
    "accountLedger": true,
    "accountTransfer": true,
    "clientLedger": true,
    "salaryComponents": true,
    "leads": true,
    "leadActivities": true,
    "deals": true,
    "debitNotes": true,
    "expenseCategories": true,
    "warehouse": true,
    "branch": true,
    "contracts": true,
    "employeeSpends": true
}'

Responses

🟢200Ok
application/json
Body
data
object (OrganizationDocumentJSON) 
required
createdAt
string <date-time>
required
updatedAt
string <date-time>
required
__v
number <double>
optional
_id
string 
required
name
string 
required
organizationId
string 
required
location
string 
required
state
string 
required
logo
string  | null 
optional
regionalSetting
object (IRegionalSetting) 
required
taxSettings
array[object (IOrgTaxSettings) {3}]  | null 
optional
userId
string 
required
settings
object (IOrganizationSettings) 
required
fromEmail
string 
optional
fiscalYear
object 
optional
businessSettings
object  | null 
optional
isDeactivated
boolean 
optional
platformCredits
object (IOrganizationPlatformCredits) 
optional
registrationSource
enum<string> 
optional
Allowed values:
upbooks-webupbooks-android-appupbooks-ios-appupbooks-expense-webupbooks-expense-android-appupbooks-expense-ios-app
organizationType
enum<string> 
optional
Allowed values:
individualbusiness
phone
object (IPhone) 
optional
message
string 
optional
Example
🟢200Success
Previous
GetSnapshotReceivables
Next
DeletePermanent
Built with