-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
普通用户apikey无法正常调取所拥有实例数据 #1137
Comments
是的。这个api会返回对应daemon所有的实例,是管理员专属的。 如果你想得到这个用户有的实例,请使用 |
通过获取个人资料那个接口,然后就能得到属于自己的实例ID列表,再根据这个列表查询实例详情即可获得实例的具体信息。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MCSManager Version
9.9.0
System Info/Version
Windows Server 2022 Datacenter 10.0.20348
Node Version
3.4.0
调用api
获取远程实例详情信息 (/api/instance)获取远程实例详情信息
所作尝试
使用管理员apikey调用正常返回数据,使用普通用户apikey返回403 [Forbidden] 密钥不正确
确认已使用管理员账户授权对实例的所有权,且普通账户可正常访问实例信息
Step
The text was updated successfully, but these errors were encountered: