Home General Discussion
Options

Cloud Connector users endpoint

Simon_ZeinhoferSimon_Zeinhofer Customer Ninja IT Monkey ✭✭✭✭

We tried using the users endpoint in the cloudconnector API to receive a certain user.

Everytime we add an email address to the "/api/cloudconnector/users" endpoint we receive a

"404 Not found" error in postman. The call works without an added mail address but gives back every single user in our environment

Best Answer

  • Options
    Geoff_RossGeoff_Ross Cireson Consultant O.G.
    Answer ✓

    As does:

    /api/CloudConnector/Users/geoff.ross@cireson.com/
    

    With a / on the end to force the portal to handle it properly.

Answers

  • Options
    Geoff_RossGeoff_Ross Cireson Consultant O.G.

    I am getting the same. We are looking and will probably need to open a bug.

  • Options
    Simon_ZeinhoferSimon_Zeinhofer Customer Ninja IT Monkey ✭✭✭✭

    @Geoff_Ross thx for the update :)

  • Options
    Geoff_RossGeoff_Ross Cireson Consultant O.G.

    Hi Simon,

    Something in the email address format is breaking the routing. The following format works:

    /api/CloudConnector/Users?id=geoff.ross@cireson.com
    

    Geoff

  • Options
    Geoff_RossGeoff_Ross Cireson Consultant O.G.
    Answer ✓

    As does:

    /api/CloudConnector/Users/geoff.ross@cireson.com/
    

    With a / on the end to force the portal to handle it properly.

  • Options
    Simon_ZeinhoferSimon_Zeinhofer Customer Ninja IT Monkey ✭✭✭✭

    thx Geoff, both work :)

    just the response needs more than a minute. I guess the endpoint receives all users first and then filters on the mail address I entered?

Sign In or Register to comment.