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
      • Restricted access
        • Account Activation and Deactivation
        • Account Freeze and Unfreeze
      • Get accounts list
      • Add a new account
      • Delete the account
    • Account users
    • 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
  • Accounts v73
  • Restricted access
  • Account Freeze and Unfreeze
Documentation for version v73

Account Freeze and Unfreeze

Description​

Allows you to freeze and unfreeze an account in the admin panel.

Request URL​

Method: POST

https://example.com/api/v1.1/admin/accounts/freeze - for account freezing

https://example.com/api/v1.1/admin/accounts/unfreeze - for account unfreezing

Request Parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
idint1YesAccount identifier
frozen_detailsJSON object
{
"payment_url": "https://example.com"
}
NoApplies only when freezing an account
Contains additional parameters for notification customization:
payment_url: URL for payment/unlock (will be shown to the user when the account is frozen)

Request Example​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 7,
"frozen_details": {
"payment_url": "https://example.com"
}
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<id>7</id>
<frozen_details>
<payment_url>https://example.com</payment_url>
</frozen_details>
</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 message text
Last updated on Aug 16, 2025
Previous
Account Activation and Deactivation
Next
Get accounts list
  • Description
  • Request URL
  • Request Parameters
  • Request Example
  • Response Example
  • Response Parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.