Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v73
  • 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 v73
    • Account users
      • Update an Existing Account
      • Add a new account
      • Delete a user
      • Get a list of users
      • Sending a Welcome Email
    • Nodes
    • Sendersv73
    • Virtual senders
This is documentation for Altcraft Platform v73. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Administrator API
  • Account users
  • Delete a user
Documentation for version v73

Delete a user

Description​

Delete an account user

Request URL​

Method: POST

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

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format
(By default – json)
account_idint1YesAccount identificator
namestring"example"YesUser name to be used in the login

Request example​

  • JSON
  • XML
{
"token": "aabcdefghijklmnqrstuvwxyz",
"format": "json",
"account_id": 1,
"name": "example"
}
<xml>
<token>aabcdefghijklmnqrstuvwxyz</token>
<format>json</format>
<account_id>1</account_id>
<name>Example</name>
</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 Oct 28, 2024
Previous
Add a new account
Next
Get a list of users
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.