Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to specifcy application when hitting rest/admin/latest/sessions/user?

Aakash Lakhotia June 18, 2019

I have two applications in my Crowd dashboard.

One called 'crowd' one called 'google-apps'.

gRxrlKb

 

When hitting http://crowd-test.mysite.com/crowd/rest/admin/latest/sessions/user?search=&directoryId= with credentails for my application called 'crowd' I get:

HTTP Status 401 – Unauthorized


Type Status Report

Message Unable to authenticate user as there are no directories mapped to the application google-apps

Description The request has not been applied because it lacks valid authentication credentials for the target resource.

 

Wondering how I can specify my 'crowd' Application as the one to hit instead.

Thanks

 

1 answer

0 votes
Gaurav
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 19, 2019

Hi @Aakash Lakhotia ,

You cannot get user sessions for a specific application from the REST API in Crowd.

This REST endpoint can only filter user session on the basis of directory id or search keyword.

 

Thanks,

Gaurav Agarwal

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events