- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Management Api - Settings
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Management Api - Settings
Good afternoon.
Could you help us, we need to have access to the console api in admin mode, we enter with admin user in the system, but it does not allow us to do managements in Blades - Management Api.
In the access settings, we need to have access to the All IP address option.
Could you help us to solve this problem.
- Labels:
-
Automation and APIs
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you connected with the "Read-only" checkbox marked? Can you make any other changes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First, if you are doing tests, set API clients for "All IP Addresses" at the start.
Also, you need to see if API is enabled. Run "api status" command on the CLI and show us the output.
ADMIN NOTE: moved to the appropriate space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Val.
The problem we have is that the object is in viewed form, we are only using 1 user, with name admin.
And it does not allow to make changes in the sample window, the buttons are disabled.
Thank you very much, for your help Val.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I also suggest that you check the "View Session" tab and check if there are locks on any of the sessions. Looks like this is locked, possibly by other admin/session.
If something is continue blocking you and you have SSH expert mode privileges you can use:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good afternoon, Amir.
Thank you very much for your help.
We have executed the command you provided, and we get the following response.
Screenshot 2023-03-06 at 17.21.28.png
We are only connected with one user in the console, with admin user.
Could you help us in this regard.
Thank you very much, best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Remove the domain flag, it is not needed here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same error even when flag is removed.
I need to do it via CLI, do you know an other way ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you connected with the "Read-only" checkbox marked? Can you make any other changes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you run below (it will disconnect all smart console users) and then reconnect and try again?
Andy
mgmt_cli -r true show sessions details-level full -f json | jq -r '.objects[] | select(."user-name" != "WEB_API") | .uid' | while read -r uid; do mgmt_cli -r true disconnect uid $uid; done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same issue, even when i delete flag.
Error message says that "Cannot execute it in the current domain".
Do you know an other method ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see points @_Val_ and @Amir_Senn are making. As Amir said, please make sure there are no locks present. Below is my R81.20 lab, but version should not matter.
Andy
