Return Users #8401
-
I have created a Service application and have added the client-email (service-abc123@apps.imsoidc.bentley.com) it to the project. I noticed the organization for this client-email is listed as Unaffliated. When using the endpoint GET [https://api.bentley.com/users/{id}] it is returning “404 not found” despite me trying many different user ids from my work organization. How can i associate this account to my work organization so that i can return user information? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@GumballDrops Doing this would convert service-abc123@apps.imsoidc.bentley.com to a regular user. Our services would treat all requests from service-abc123@apps.imsoidc.bentley.com as a regular user and not a service account. |
Beta Was this translation helpful? Give feedback.
@GumballDrops
For security reasons that api will only allow a user to see other users in their organization. Service accounts do not belong to an organization. We can associate one to an organization but that is a manual process. We would need to confirm your organization and that you created service-abc123@apps.imsoidc.bentley.com.
Doing this would convert service-abc123@apps.imsoidc.bentley.com to a regular user. Our services would treat all requests from service-abc123@apps.imsoidc.bentley.com as a regular user and not a service account.