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
        • Account Activation and Deactivation
        • Account Freeze and Unfreeze
      • Get accounts list
      • Add a new account
      • Delete the account
    • Account users
    • Nodes
    • Senders admin api
    • Virtual senders
  • Administrator API
  • Accounts admin api
  • Restricted access
  • Account Activation and Deactivation
Documentation for version v74

Account Activation and Deactivation

Description​

Allows you to activate and deactivate an account in the admin panel.

Request URL​

Method: POST

https://example.com/api/v1.1/admin/accounts/activate - for account activation

https://example.com/api/v1.1/admin/accounts/deactivate - for account deactivation

Request Parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
idint1YesAccount identifier

Request Example​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 7
}
    <xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<id>7</id>
</xml>

Response Example​

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

Response Parameters​

ParameterTypeDescription
errorintError code
error_textstringError message text
Last updated on Aug 15, 2025
Previous
Restricted access
Next
Account Freeze and Unfreeze
  • Description
  • Request URL
  • Request Parameters
  • Request Example
  • Response Example
  • Response Parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.