Skip to main content

Get Organization roles of OrgID of user UID

GET 

https://api.loginradius.com/v2/manage/account/:uid/orgcontext/:orgid

This API is used to get the user roles of an organization by UID and OrgID.

Request

Responses

OK: The request was successful.

Authorization: X-LoginRadius-APIKey

name: X-LoginRadius-APIKeytype: apiKeyin: headerdescription: Tenant api key for authentication
name: X-LoginRadius-APISecrettype: apiKeyin: headerdescription: Tenant api secret for authentication
Request Collapse all
Base URL
https://api.loginradius.com/v2/manage
Auth
Parameters
— pathrequired
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.loginradius.com/v2/manage/account/:uid/orgcontext/:orgid");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("X-LoginRadius-APIKey", "<apiKey>");
request.Headers.Add("X-LoginRadius-APISecret", "<apiKey>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());