Attention" Please Read Terms of Service Before make any purchase | Click Here"
Licenceman | Sharedlicensing.com
  • Home
  • Store
    • Browse All
    • Flash Sales Offer
    • Licenses Bundle (combo)
    • cPanel licenses
    • Plesk License
    • LiteSpeed License
    • CloudLinux License
    • Imunify360 License
    • WP Squared License
    • JetBackup License v5
    • WHMReseller License
    • ConfigServer eXploit Scanner License
    • Virtualizor License
    • SitePad license
    • cPanel lifetime license
    • OSM -Outgoing Spam Monitor License
    • Softaculous License
    • Free Trial License
  • News
  • Knowledgebase
  • Contact Us
  • More
  • EUR EUR
    • USD$
    • GBP
    • INR
  • Register
  • Login
  • 0 Shopping Cart

Knowledgebase

  1. Cheap cPanel license , CloudLinux license , LiteSpeed license, Imunify360 license , etc
  2. Knowledgebase
  3. cPanel/WHM Troubleshoots
  4. Developer Experience
  5. Do I need to use the cpsess##### security token for API authentication?

  Categories

1
All In One Licenses Instructions
283
cPanel/WHM Troubleshoots
2
KNOWN ISSUES
3
Legal

  Categories

  Tag Cloud

cPanel /scripts/ - Powerful commands from cPanel Server is inaccessible once rebooted after installing the cPanel

  Support

  My Support Tickets   News   Knowledgebase   Downloads   Network Status   Open Ticket

Do I need to use the cpsess##### security token for API authentication? Print

  • 0

Question

Do I need to use the cpsess##### security token when making API calls?

 

Answer

Only cookie-based API calls, such as calls from a web browser, require the cpsess token. If you are making an API token-based call, remove the cpsess portion of the URL. Below is an example of the suspendacct API call in the proper format:

https://hostname.example.com:2087/json-api/suspendacct?api.version=1&user=username&reason=Nonpayment&leave-ftp-accts-enabled=0

Was this answer helpful?

Related Articles

Using the addzonerecord API call with a URL encoded string that is over 255 characters and includes the quotes removes all DNS entries for the domain Symptoms Attempting to modify a DNS Zone with the addzonerecord WHMAPI function with... WHMAPI "getpkginfo" returns duplicate and unused "MAXTEAMUSERS" value Symptoms When using the "getpkginfo" WHMAPI command, a duplicate and invalid... How do I open the browser console for Apple's Safari? Question How do I open the browser console for Apple Safari? Answer First, enable the... How to open the browser console in Mozilla Firefox Question How do I open the browser console for Mozilla Firefox? Answer To open the web... MySQL error during rename when using modifyacct to rename many accounts at once. Symptoms When using the whmapi1 modifyacct API utility to rename many accounts in quick...
Back

  Tag Cloud

cPanel /scripts/ - Powerful commands from cPanel Server is inaccessible once rebooted after installing the cPanel

  Support

  My Support Tickets   News   Knowledgebase   Downloads   Network Status   Open Ticket
About Us
Licenceman.com formally ( sharedlicensing.com)We Provide low price & stable licenses and shared licenses for your vps /dedicated servers Our licensing sytem are including : cPanel /WHM license for VPS/Dedicated servers, plesk, Directadmin, Jetbackup,Litespeed, whmreseller and more.
Our Licenses
  • cPanel License
  • Plesk License
  • Litespeed License
  • WHMReseller License
  • Contact Us
  • Terms of Service
Other Licenses
  • Licenses Bundle
  • Cloudlinux License
  • Imunify360 License
  • Jetbackup v5 License
  • Softaculous License
We Accepted
support image

Copyright © 2026 Licenceman | Sharedlicensing.com. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська
Choose Currency
$ USD
EUR EUR
GBP
INR
Generate Password
Please enter a number between 8 and 64 for the password length
💰 We Accept "All Credit Cards , All cryptocurrency"