Self Help Documentation
< All Topics

domain/removesubdomain

Description

Removes an existing subdomain from the selected SPanel user account. The domain’s folder and files remain intact and must be deleted manually.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
accountuserstringYesThe SPanel user account that is being managed or viewed.
actionstringYesThe category and function being executed.
subdomainstring|arrayYesThe subdomain name to remove. An array with multiple subdomain names is supported as well.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents