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:
new_user_data = {'name': test123, 'authentication-method': 'tacacs', 'tacacs-server': 'TACACS-test', 'permissions-profile': {'domain':"System Data", 'profile':'read only all'}, 'ignore-warnings': 'true' }
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?