Self Help Documentation
< All Topics

accounts/suspendaccount

Description

Suspends an active SPanel account.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
actionstringYesThe category and function being executed.
usernamestring|arrayYesAccount username to be suspended. Array with multiple usernames is supported as well.
reasonstringNoAn optional reason to be set for the suspended accounts. Will be visible inside SPanel Admin interface.

Example

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

Output

Table of Contents