- Products
- Learn
- Local User Groups
- Partners
- More
Policy Insights and Policy Auditor in Action
19 November @ 5pm CET / 11am ET
Access Control and Threat Prevention Best Practices
Watch HereOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hello,
I need some help with web_api request. I m getting error:
{"code": "err_inappropriate_domain_type", "message": "This command can work only on domains of type MDS. Cannot execute it in the current domain (current domain type is Domain)."}
Need to creat new adminstrator account via web_api on Check Point Smart Concole.
My payload looks like:
Using set:
Check Point - Management API reference
R81.10
SmartConsole 81.10.9600.409
Got only one system domain, nothing more.
Using mgmt_cli everything working proper.
mgmt_cli working properly.
mgmt_cli add administrator name "test123" password "test123" must-change-password false email "test@gmail.com" phone-number "1800-800-800" authentication-method "check point password" permissions-profile "read only all" --domain 'System Data' --format json -u xxxxxx-p 'xxxxxxyyyyyy'
Any idea how the payload should looks like to be a proper query on web_api?
Hi Szymon2022,
There is an example in the API reference guide under the "login" API endpoint
https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/login~v1.9%20 > example > "login to domain".
just change the value "domain name" to "System Data"
Request
POST {{server}}/login
Content-Type: application/json
{
"user" : "aa",
"password" : "aaaa",
"domain" : "Domain Name"
}
When you did the login call, did you log into the "System Data" domain?
If not, this API call will fail in the manner described.
Note this should be required on mgmt_cli as well (or at least it was last time I checked).
@Omer_Kleinstern can we make it more explicit in the documentation which API calls can only be executed in the "System Data" domain?
A more informative error message would also be useful.
From the description of the add-administrator command:
"This command is available only after logging in to the System Data domain."
On a related note, is there a list of all of the API calls which are only available on the System Data domain?
Are there any calls which are available outside System Data but which aren't fully functional?
That's right so how to login in to system data via Web Services (WebAPI)?
In the past few days I was searching the proper url and proper payload to login in to system data. And I couldnt find it out.
I realised that I need to be login in to the system data first but do not know how to do it.
Hi Szymon2022,
There is an example in the API reference guide under the "login" API endpoint
https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/login~v1.9%20 > example > "login to domain".
just change the value "domain name" to "System Data"
Request
POST {{server}}/login
Content-Type: application/json
{
"user" : "aa",
"password" : "aaaa",
"domain" : "Domain Name"
}
Thank you for your suggestion. That was it.
Below the correct query simple example:
Domain should be a string, not an object. It should contain either the name or the UUID of the domain.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Wed 26 Nov 2025 @ 12:00 PM (COT)
Panama City: Risk Management a la Parrilla: ERM, TEM & Meat LunchWed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasWed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasWed 26 Nov 2025 @ 12:00 PM (COT)
Panama City: Risk Management a la Parrilla: ERM, TEM & Meat LunchAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY