Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v74
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
  • Platform installation
  • Platform configuration
  • Platform maintenance
  • Custom channels guide
  • Extra
  • Processing HTTP/HTTPS traffic
  • Administrator API
    • Accounts admin api
      • Restricted access
      • Get accounts list
      • Add a new account
      • Delete the account
    • Account users
    • Nodes
    • Senders admin api
    • Virtual senders
  • Administrator API
  • Accounts admin api
  • Delete the account
Documentation for version v74

Delete the account

Description​

Delete the platform account

Request URL​

Method: POST

https://example.com/api/v1.1/admin/accounts/delete

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format
(By default – json)
idint1YesAccount ID

Request example​

  • JSON
  • XML
{
"token": "aabcdefghijklmnqrstuvwxyz",
"format": "json",
"id": 9
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<format>json</format>
<id>9</id>
</xml>

Response example​

  • JSON
  • XML
{
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data/>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
Last updated on Nov 2, 2024
Previous
Add a new account
Next
Account users
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.